<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>sercomm &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/sercomm/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Fri, 14 Nov 2025 04:51:33 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>sercomm &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Telnet and Root on the Sercomm iCamera2]]></title>
		<link>https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/</link>
					<comments>https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/#comments</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Tue, 14 Nov 2017 08:04:47 +0000</pubDate>
		<category><![CDATA[firmware]]></category><category><![CDATA[hacking]]></category><category><![CDATA[NaBloPoMo]]></category><category><![CDATA[security]]></category><category><![CDATA[sercomm]]></category>		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=28737</guid>

					<description><![CDATA[tldr;   URL http://[IP]/adm/file.cgi?todo=inject_telnetd Telnet username root Telnet password Aq0+0009   History  Four years ago to the day, I wrote an exposé of the hideous security failings of Sercomm IP Cameras.  The blog has since attracted 200 comments - as people try to unlock their cameras, and find out what flaws they have.  Despite my best efforts at contacting Sercomm - the OEM who …]]></description>
										<content:encoded>&lt;p&gt;tldr;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;URL &lt;code&gt;http://[IP]/adm/file.cgi?todo=inject_telnetd&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Telnet username &lt;code&gt;root&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Telnet password &lt;code&gt;Aq0+0009&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id="history"&gt;&lt;a href="https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/#history"&gt;History&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Four years ago to the day, I wrote an exposé of &lt;a href="https://shkspr.mobi/blog/2013/11/hacking-around-with-network-cameras/"&gt;the hideous security failings of Sercomm IP Cameras&lt;/a&gt;.  The blog has since attracted 200 comments - as people try to unlock their cameras, and find out what flaws they have.&lt;/p&gt;

&lt;p&gt;Despite my best efforts at contacting Sercomm - the OEM who manufactures the cameras - and the "security" resellers who irresponsibly sell them to unsuspecting customers, the flaws remain unpatched.&lt;/p&gt;

&lt;h2 id="factory-reset"&gt;&lt;a href="https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/#factory-reset"&gt;Factory Reset&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Most of the Sercomm cameras have a custom firmware which locks them down. As documented in &lt;a href="https://shkspr.mobi/blog/2013/11/hacking-around-with-network-cameras/"&gt;my previous blog post&lt;/a&gt;, resetting the cameras is depressingly easy.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Stick paperclip in the reset hole for a few seconds.&lt;/li&gt;
&lt;li&gt;The default login name is &lt;code&gt;administrator&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;There is no password set!&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id="turning-on-telnet"&gt;&lt;a href="https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/#turning-on-telnet"&gt;Turning on Telnet&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;The process for enabling Telnet was &lt;a href="https://web.archive.org/web/20110228233406/http://nurds-r-us.blogspot.com/2011/01/hacking-sitecom-wl-404-wireless-webcam.html"&gt;first published in 2011&lt;/a&gt;.  It depends on the firmware that Sercomm have pre-loaded, but you just need to visit the specially crafted URl: &lt;code&gt;http://[IP]/adm/file.cgi?todo=inject_telnetd&lt;/code&gt;&lt;/p&gt;

&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2017/10/telnet-fs8.png" alt="A web browser displaying the message &amp;quot;Open Telnet Daemon successfully!&amp;quot;" width="643" height="174" class="aligncenter size-full wp-image-28738"&gt;

&lt;h2 id="firmware-trickery"&gt;&lt;a href="https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/#firmware-trickery"&gt;Firmware Trickery&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Over on my &lt;a href="https://github.com/edent/Sercomm-API/"&gt;GitHub repo of Sercomm API commands&lt;/a&gt;, you'll find a copy of the &lt;a href="https://github.com/edent/Sercomm-API/issues/4"&gt;firmware for the iCamera 1000&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A contributor to the blog, Paul Chambers, describes how he deciphered the firmware.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The firmware is a modified &lt;a href="https://en.wikipedia.org/wiki/SquashFS"&gt;SquashFS&lt;/a&gt; filesystem.
Inside, it contains a symlink from &lt;code&gt;/etc/passwd -&amp;gt; /mnt/ramdisk/tmp/passwd&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/etc/rc.sethost&lt;/code&gt; contains the string &lt;code&gt;passwd&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Running rc.sethost does various things including writing a passwd file to &lt;code&gt;/mnt/ramdisk/tmp/passwd&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Inside that, I saw &lt;code&gt;root:9sXicXdz8JrVk:0:0:root:/root:/bin/sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The string &lt;code&gt;9sXicXdz8JrVk&lt;/code&gt; is a traditional &lt;a href="https://en.wikipedia.org/wiki/Crypt_(C)#Traditional_DES-based_scheme"&gt;DES based hash&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I patched &lt;code&gt;rc.sethost&lt;/code&gt; to skip the call to &lt;code&gt;crypt&lt;/code&gt;. Then I got:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;root:Aq0+0009:0:0:root:/root:/bin/sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I double-checked it was correct by running&lt;/p&gt;

&lt;p&gt;&lt;code&gt;squashfs-root$python -c "import crypt;print crypt.crypt('Aq0+0009', '9s')"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;9sXicXdz8JrVk&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;So the username is &lt;code&gt;root&lt;/code&gt; and the password is &lt;code&gt;Aq0+0009&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;There you have it.  Different cameras may have different firmwares with different passwords - but I'd guess that they all follow a similar pattern.  This particular password works on Firmware version &lt;code&gt;V3.0.01.29&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=28737&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2017/11/telnet-and-root-on-the-sercomm-icamera2/feed/</wfw:commentRss>
			<slash:comments>24</slash:comments>
		
		
			</item>
	</channel>
</rss>
