<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tomas C. on Medium]]></title>
        <description><![CDATA[Stories by Tomas C. on Medium]]></description>
        <link>https://medium.com/@tomac?source=rss-de74896f1aa2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KVs_tfUQ07C7sKYSjEQGzg.png</url>
            <title>Stories by Tomas C. on Medium</title>
            <link>https://medium.com/@tomac?source=rss-de74896f1aa2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 23:01:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tomac/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building up a basic Physical Red Team toolkit and skillset.]]></title>
            <link>https://medium.com/hackernoon/building-up-a-basic-physical-red-team-toolkit-and-skillset-81670a2dd454?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/81670a2dd454</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[red-team]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 20 Nov 2019 23:13:20 GMT</pubDate>
            <atom:updated>2019-11-29T09:56:55.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rQg1ScHWCNr5o71XXPe39Q.png" /></figure><p>As the cybersecurity industry moves from the traditional network vulnerability assessment services to replicating attacks from advanced actors the need to run physical security tests as part of a red team engagement is growing. The lack of information available from a physical red team point of view has led me to write this article based on my experience with a basic premise: What would you put in a red team everyday carry physical toolkit?</p><p>The result is this kit, very similar to the one I use during my physical security assignments. A small lockpicking, lock bypass and basic tools kit with the low skill but high percentage success stuff that can be easily carried and get you through your next red team engagement. Whatever the Hollywood bank vault score or more realistically to open a network cabinet padlock at a nondescript warehouse to install a network drop box or remote access device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*zY0tXM7E5Zq0if7RNI0sPg.png" /><figcaption>A 19&quot; rack cabinet which should have been firmly locked, but was found to be open with the door ajar. (Photo by <a href="https://www.flickr.com/photos/dvanzuijlekom/">Dennis van Zuijlekom</a>)</figcaption></figure><p>Let’s be honest, about most of the jobs you would be given access to the target building as part of the scope of the red team engagement, although if not, is more most likely to get inside from social engineering using either pretexting, tailgating or employee impersonation. So, you don’t need expensive or fancy stuff most of the time. The only exception is the RFID badges cloning tools that I will cover in a separate article.</p><p>Security once inside the target’s premises will be mostly low-security office-type. But still, you have to gain access either picking or bypassing locks to server rooms, network equipment cabinets, secure shredding bins, or computer racks. Occasionally you will also need some basic tools to reach under raised floor or suspended ceiling to install a network drop box or hide cameras to capture passwords. Physical intrusion and hardware backdoors mix are a highly effective form of red team attack. Take a look at some of my posts on the subject, for example leave behind a <a href="https://medium.com/@tomac/install-openwrt-or-pine-apple-on-low-cost-wifi-router-67cbd26a1a15">cheap disposable WiFi Pineapple clone</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vSvf1cM2qdRSxPqv.png" /><figcaption>The <a href="https://medium.com/hackernoon/kali-linux-2018-2-on-your-pocket-with-the-gpd-7-mini-laptop-77b0d59dec40">Pocket 7 mini laptop</a> is also a great addition to any red team toolkit.</figcaption></figure><p>For a basic toolkit, I tend to recommend stuff like multi-tools, a set of utility keys and a minimal pick set, tools that would get you <a href="https://en.wikipedia.org/wiki/Pareto_principle">through 80% of the stuff</a> with minimal money and training time invested. Remember this not about sport lockpicking, red teamers don’t want to put a lot of time into training lock picking and they just want the high probability low skill physical attack that will get them access to the corporate network. That’s the tool kit that you see right here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LU0dJE_ecz9AD15EVqUg1Q.png" /></figure><p>Please note that I actually own more expensive tools, such as <a href="https://www.thinkpeterson.com/pick-sets/">Peterson picks</a> or tools from top brands, but then a kit like that would cost several hundred dollars, and the aim of this article was to offer an easy and inexpensive way to get started in the physical security field.</p><p><strong>Basic Physical red team toolkit</strong></p><ul><li>Pick tools ( <a href="https://bit.ly/2Otabwr">$15 Basic lockpicking</a> set or <a href="http://bit.ly/2KHkQma">$40 for a higher quality and more complete set</a> with clear training locks) plus additional spare tension tools. Although many people don’t pay attention to it, tension tools are just as important as picks, so have a good selection of types and sizes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*qfjP4uehkR9FUvp5.jpg" /></figure><ul><li>Utility key set. (<a href="https://bit.ly/2O6gS8K">Multi-function Cross Wrench Square Triangle Key Set</a>) Suitable for industrial, electric control and network cabinets, remove panels on raised floor, elevators, train doors, service ducts, industrial control valves and more.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c9ZOosmImPDBcKP8WLAoLg.png" /></figure><ul><li>Quality multi-tool for unscrewing, disassembling, cutting and other jobs. It has everything needed to make improvised bypass tools using materials around you such as padlocks shim from drink cans, in addition to making small repairs or other useful tasks in your daily work. I usually prefer Leatherman and Gerber tools, but you can find cheaper alternatives such as the excellent Nexttool Flagship (<a href="https://bit.ly/35sp4Wn">high-quality leatherman clone</a>) built to last for decades and a third of the cost of brand tools.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d5OUe2l02g00CDh8pkqczA.png" /></figure><ul><li>High Powered Flashlight, you are going to need it more than you think and I assure you that the flashlight of your smartphone will be insufficient most of the time. I tend to prefer the classic <a href="https://www.gearbest.com/tactical-flashlights/pp_009159742936.html?wid=1433363">Convoy S2+</a>, remember you would also need an 18650 Lion battery and charger for this type of tactical flashlights.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*8achBmiFAcXr2X4S.jpg" /></figure><ul><li>Assortment of zip ties: Useful to secure cables, temporarily replace padlocks, secure some locks in open position and small repairs during work.</li><li>A basic pouch that would easily hold all items (<a href="https://bit.ly/2qlnPK4">$9 nylon molle tactical bag</a>)</li></ul><p>While not strictly a part of the basic kit i often carry the incredibly useful <a href="https://www.gearbest.com/tablet-pcs/pp_613003.html?wid=1527929&amp;lkid=68257903">Pocket 7 mini laptop</a>, small enough to fit in a pocket and go unnoticed, while you have all the power to run a full featured <a href="https://medium.com/hackernoon/kali-linux-2018-2-on-your-pocket-with-the-gpd-7-mini-laptop-77b0d59dec40">Kali Linux</a>.</p><p>I’ve come up with this but I know I’m going to catch a lot of heat because the lock picking community is going to look at this infosec guy and say hey there’s nothing there but a multi-tool and a basic pick set and say where’s all the high security dimple lockpicks or bypass tools and that’s because those tools take a lot of practice in order to master them. The odds are that the more expensive a lockpick tool more hours of hands-on practice in order to get the feel of these tools require. Or if a tool work fast as the case of a bump key it will only work for a single type of lock out of the thousands that may exist. While with a basic kit an only some practice you can really start defeating locks right away and I think that’s really what red teams are after. That doesn’t mean I’m not open to suggestions for improvement. Do you miss something on my kit? Leave it in the comments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3UndXxF5h4Zz0kp00WwEcA.png" /></figure><p><strong>The essential physical red team skillset</strong><br>Although having the right tools is nice, you’ll need to know how to use them. There are plenty of topics to master before becoming a physical security expert, lockpicking and lock bypass is undoubtedly the most important knowledge.</p><p>The <a href="http://www.capricorn.org/~akira/home/lockpick/">MIT Guide to Lockpicking</a> and the <a href="https://www.dropbox.com/s/y39ix9u9qpqffct/Lockpicking%20Detail%20Overkill.pdf?dl=0">Lockpicking-Detail-Overkill</a> are pretty decent free ebooks, but it can be a bit tough conceptually if you aren’t yet all that familiar with lock internals. After reading the basic concepts you will be very useful a <a href="http://bit.ly/2KHkQma">set of transparent practice locks and padlocks</a>, same as those used in the real world but manufactured in clear plastic so you can see what’s happening inside. Please note that they are not really the right long-term learning tool, but will help you to quickly visualize how a lock works before starting with the real world ones.</p><p>There are many lockpicking youtube channels out there, my favorites are <a href="https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ/videos">LockPickingLawyer</a> and <a href="https://www.youtube.com/user/bosnianbill">Bosnianbill</a>. Especially the latter because unlike many sport lockpickers Bosnianbill has multiple videos from the perspective of a security professional who needs to open locks quickly at work.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWckF2GB_2iQ%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWckF2GB_2iQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWckF2GB_2iQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0046042f207aefcfa0c482f58ac02a94/href">https://medium.com/media/0046042f207aefcfa0c482f58ac02a94/href</a></iframe><p>Once you’ve opened your first lock you’ll want to delve into the various types of locks, the great range of lockpick tools as well as the techniques used by physical red team, for it I recommend some reference books that in my opinion are the next training material you should get.</p><p><a href="https://www.wiley.com/en-us/Unauthorised+Access%3A+Physical+Penetration+Testing+For+IT+Security+Teams-p-9780470747612"><em>Unauthorised Access: Physical Penetration Testing For IT Security Teams</em></a> by Wil Allsopp. You won’t find any other book like this one, it’s the only one really written from the perspective of a red team who has done multiple real world physical penetration tests. It’s full of useful information for beginners and more advanced pen-testers. More importantly, it covers not only lock picking but also multiple techniques from social engineering to surveillance equipment along with operational planning and execution of physical intrusion tests.</p><p>Deviant Ollam, security auditor and penetration testing consultant at The CORE Group, frequent speaker at security conferences also a member of the Board of Directors of TOOOL US division, is the author of two interesting books on physical security, while really good books those are mostly about picking locks and do not cover other operational aspects of red teaming as well as <em>Unauthorised Access</em>. In any case those are also very recommendable books: <em>Practical Lock Picking: A Physical Penetration Tester’s Training Guide</em> and <em>Keys to the Kingdom: Impressioning, Privilege Escalation, Bumping, and Other Key-Based Attacks Against Physical Locks.</em></p><p><a href="https://www.abebooks.com/products/isbn/9780970978813?cm_sp=bdp-_-ISBN10-_-PLP"><em>Visual Guide to Lock Picking</em> by Mark McCloud</a>. I would recommend this book for those who are starting in lock picking basically because the illustrations show beautifully the inner workings of a wide variety of locks.</p><p><a href="https://www.abebooks.com/9780966608717/Open-Locks-Improvised-Tools-Practical-0966608712/plp"><em>How To Open Locks With Improvised Tools: Practical, Non-Destructive Ways Of Getting Back Into Just About Everything When You Lose Your Keys</em></a> (formerly published as Lock Bypass Methods) by Hans Conkel. What I like about this book is that unlike most texts that have an approximation as a lock sport guide this one deals with practical techniques on improvised tools. This book was to me a very useful guide to bypass locks and other entry methodologies.</p><p><strong>Physical Red Team: Do’s and Don’ts</strong></p><p>From reading some IT security forums debating physical security, seeing some promotional videos from the industry competitors marketing just Stunt Hacking and after my own experience I have come to some important tips that I would like to share before you start your first assignment.</p><p>Please don’t dress military-style or as a ninja, you’ll stand out, you won’t get away if challenged, and in some jurisdictions you could be shot by a security guard who thinks you’re some kind of terrorist or part of an armed robbery. Instead, use a <a href="https://www.youtube.com/watch?v=H3Wz7fC7tOY">grey man’s attitude</a>: dress in casual clothing that fit your target environment, just avoid bright or distinctive colors. If you work as a team, make sure you guys and gals don’t dress the same way or you’ll also stand out from the crowd. If you carry a laptop to an impersonation job it would be better not to be covered with hacker stickers or you will shine like a Christmas tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/0*BlbwJC3KMseVoYiy" /><figcaption>Remember that Hollywood depictions of a physical intrusion are rarely realistic.</figcaption></figure><p>Be careful if you seek advice, training material or courses from special forces, SWAT or most military types. Explosive breaching, subduing a guard or clearing rooms is something you will rarely encounter during physical pen-testing. Instead read all you can from accounts of con men, white collar criminals or jewel thieves. As an exercise, I recommend you to research about the <a href="https://www.wired.com/2009/03/ff-diamonds-2/">Antwerp diamond heist,</a> one of the largest robberies in history accounting more than $100 million. The heist is the subject of the book <em>Flawless: Inside the Largest Diamond Heist in History</em> by Scott Andrew Selby and Greg Campbell</p><p>Always make sure that what you are going to do is part of what was agreed with the client. Always carry the contact numbers of the target’s security staff who can explain who you are and what you are doing. Whatever possible, carry a copy of the agreement for the job signed by the CEO, CTO or CISO. I’m sure you’ve read the story of how the state of <a href="https://mashable.com/article/penetration-test-arrested-iowa-dallas-county-courthouse/">Iowa paid a security company to break into a courthouse, then arrested the employees</a> when they were successful.</p><p>On legal issues Trustedsec people recently made public an <a href="https://github.com/trustedsec/physical-docs">open-sourced legal documentation used for physical penetration tests</a>. The purpose is to help the community and organizations protect their employees when conducting testing.</p><p>Until my next article arrives on my full size lock picking kit and RFID kit take advantage to practice your new skills. Stay safe and stay legal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81670a2dd454" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/building-up-a-basic-physical-red-team-toolkit-and-skillset-81670a2dd454">Building up a basic Physical Red Team toolkit and skillset.</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SigintOS: A Wireless Pentest Distro Review]]></title>
            <link>https://medium.com/hackernoon/sigintos-a-wireless-pentest-distro-review-a7ea93ee8f8b?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7ea93ee8f8b</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[wireless]]></category>
            <category><![CDATA[sdr]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 20 Mar 2019 14:53:15 GMT</pubDate>
            <atom:updated>2019-11-20T10:06:51.220Z</atom:updated>
            <content:encoded><![CDATA[<p>Good news! There’s new security distro <a href="https://www.sigintos.com/">called SigintOS becoming available for download</a>. SigintOS is an Ubuntu based distribution with a number of built in wireless pentesting applications for software defined radios such as <a href="https://bit.ly/2qiW84x">cheap RTL-SDRs</a> and other TX capable SDRs like the famous HackRF, bladeRF and USRP radios.</p><p>Software defined radio (SDR) is rapidly becoming a well-known term on Information Security industry. The once considered a black art is now a highly demanded professional skill for any red teaming engagement. From the ability to intercept cellphones, real time air traffic radar, set off emergency alert systems, GPS spoofing and more, SDR is opening a whole new set of doors for penetration testing and security research. This new distro will be a great tool to learn the basics of software defined radio, and use these tools to explore and attack using the airwaves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TW3s6lr0V6r5c796yrPaFw.png" /></figure><p>Many of us in the pentesting world have heard of SDRs like HackRF, which are great but <a href="https://www.sparkfun.com/products/13001">somewhat expensive</a>. However, there are much cheaper options. Upgraded RTL-SDR dongles can be <a href="https://bit.ly/2qiW84x">bought off China retailers for about $45</a> as a whole kit including cables, antenna, and free software.</p><p>Having a RTL-SDR dongle, one can sit behind a computer and watch all of our IoT and new wireless devices above and beyond WiFi networks. A good portion of the time, these communications are not very secure. SDRs put the power in all of our hands the power to analyze these packets of data and test for ourselves how secure our devices are.</p><p>A RTL-SDR dongle can receive frequencies of 24MHz to 1.766GHz. Then by applying direct sampling and upgraded hardware, frequencies from 500KHz to 24MHz are open for listening.</p><p>While generic RTL-SDR can be found as cheap as $20 it is advisable to spend a little more and buy one with these two features:</p><ul><li>HF capable: Integrated upconverters or direct sampling give the rtl-sdr the ability to receive frequencies below it’s minimum frequency. This allows reception of things like AM broadcasts, military HF, spy number stations, ham radio signals, weatherfax, international radio and much more</li><li>Two SMA female antenna port — Most dongles use the less common MCX or PAL antenna ports. SMA which is much more common so more adapters and antennas are available for it. It is also more durable and has lower insertion losses.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KJSx1EGvjUGh_mQluuAIsg.png" /></figure><h3>Introduction to SigintOS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*5N6jeQvaAGrq4FUP6YaKEw.png" /></figure><p>SigintOS is open-source project which is created and maintained by Murat Şişman.</p><p>A computer with a minimum of 2GB of RAM and a dual core processor is enough to use SigintOS deployment.</p><h3>Hardware requirements</h3><p>You must have at least one of the following hardware to run the software that is being distributed.</p><ul><li>RTL-SDR (<a href="https://bit.ly/2qiW84x">$40 with Upconverter &amp; SMA</a>)</li><li>HackRF ($299)</li><li>BladerRF ($420)</li></ul><p>While Kali Linux is the industry’s leading Linux distribution in penetration testing and ethical hacking. It is a distribution that comes shipped with tons and tons of hacking and penetration tools and software by default, however the support of radio attack tools has always been deficient, sometimes lacking or having old versions of the tools, as it is not the main purpose of the distribution.</p><p>SigintOS works live on DVD or USB memory. Users can also perform the installation process on the hard disk. For installation, simply download sigintos.iso from <a href="https://www.sigintos.com/download">https://www.sigintos.com/download</a> and burn it as bootable to USB flash drive or DVD. The image comes as a 2GB ISO file, and it’s possible to smoothly on virtualization applications such as VMware and VirtualBox.</p><h3>SigintOS features</h3><p>The best thing about this distro is that it is not just a bunch of tools, but that they are perfectly integrated into the system with a nice frontend, in addition to having various proofs of concept tools already installed.</p><p>The distro appears to be very well designed, with a built in UI that grants easy access to the some common attack tools like:</p><p><strong>GSM base station search tool</strong></p><p><strong>GSM IMSI catcher</strong></p><p><strong>FM transmitter</strong></p><p><strong>GPS Spoofer</strong></p><p><strong>Generic narrow-band signal jammer</strong></p><p>According to my tests, they are all functional, although for those who transmit, you will need an SDR capable of radio broadcasting as HackRF or BladeRF.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*1pzyoqn4gQJRQLOiEwf6RQ.png" /><figcaption>Fully working IMSI Catcher feature.</figcaption></figure><p>SigintOS also has various other preinstalled programs such as GNU Radio, rtl-sdr, gr-gsm, YatesBTS, wireshark and GQRX.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H6hiY_Vnm9UzQ6NZBcQHgw.png" /><figcaption>GQRX &amp; RTL-SDR Receiver</figcaption></figure><p>The OS also teases an LTE search and LTE IMSI Cather which to access requires that you get in contact with the creator, presumably for some licencing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*hBarNbBXY0QJLxxCzza0HQ.png" /><figcaption>LTE teaser</figcaption></figure><p>The only drawback is the lack of classic WiFi hacking tools (aircrack, reaver, wifite, kismet, …) that would allow us to have a definitive workstation to own all of the airwaves.</p><p>Bottom line, an SDR toolset is a must have tool for both the hacker looking to penetrate targets and for the security conscious sysadmin who performs their own security audits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7ea93ee8f8b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/sigintos-a-wireless-pentest-distro-review-a7ea93ee8f8b">SigintOS: A Wireless Pentest Distro Review</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Low-cost USB Rubber Ducky pen-test tool for $3 using Digispark and Duck2Spark]]></title>
            <link>https://medium.com/hackernoon/low-cost-usb-rubber-ducky-pen-test-tool-for-3-using-digispark-and-duck2spark-5d59afc1910?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d59afc1910</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[rubber-ducky-pen-test]]></category>
            <category><![CDATA[digispark-duck2spark]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Thu, 13 Sep 2018 08:47:18 GMT</pubDate>
            <atom:updated>2019-06-24T16:01:02.059Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s a story as old as time: some hacker sees nice hardware pen-testing tool, hacker recoils in horror at the price of said tool, hacker builds their own version for a fraction of the price.</p><p>An example of this is Rubber Ducky, an excellent Hak5 hacking tool that thanks to the work of several developers we can emulate using a small and <a href="https://bit.ly/2N6oAkh">cheap Digispark</a>. An advantage of cheap hardware from generic off the shelf parts is that it is disposable and almost impossible to trace.</p><p>The USB Rubber Ducky is a keystroke injection tool disguised as a generic flash drive. Computers recognize it as a regular keyboard and automatically accept its pre-programmed keystroke payloads at over 1000 words per minute. Seconds of physical access are all it takes to deploy some of the most advanced pen-test attacks or IT automation tasks. But Rubber Ducky can also help practical jokes execution, for example with a script that quickly changes the wallpaper of a co-worker workstation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*I9_HZriwF7C3o-BRpjm1mg.jpeg" /></figure><p>But at $45 plus shipping <a href="https://hakshop.com/products/usb-rubber-ducky-deluxe">Rubber Ducky</a> is not exactly a cheap tool, fortunately we can <a href="https://bit.ly/2N6oAkh">DIY a clone for only $3 </a>with a Digispark development board and some free software. The Digispark is an Attiny85 based microcontroller development board similar to the Arduino Uno, only cheaper and smaller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*Iv7e7RJ9TK8AlJ-oGxouWg.png" /><figcaption>Digispark boards</figcaption></figure><p><strong>Step 1: Setup Digispark Development Environment</strong></p><p>Before starting to work with our board, we must have installed the Arduino IDE. After this, we must download the compatibility package of this board, a fairly simple operation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*cIvhX1n8AbwuAzILFsqonQ.png" /></figure><p><a href="https://www.arduino.cc/en/main/software">Arduino - Software</a></p><p>After installation Open Arduino IDE application, go to <strong>File</strong> -&gt; <strong>Preferences</strong><br>In the input field named “Additional Boards Manager URLs” enter the following URL.</p><pre><a href="http://digistump.com/package_digistump_index.json">http://digistump.com/package_digistump_index.json</a></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*QWdGarEESeDbCD489rAvtg.jpeg" /></figure><p>Open Arduino IDE — Preferences <strong>Tools</strong> -&gt; <strong>Board</strong> -&gt; <strong>Boards Manager</strong><br>From the drop down menu select “Contributed”, Select the <strong>Digistump AVR Boards</strong> package and install it.</p><p>Now we need to install Digispark Bootloader Driver. You only need the driver to program it with arduino. Once you program it, it’ll work like a rubber ducky (a generic USB keyboard) on any device you plug it into without any driver.</p><p><a href="https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip"><strong>https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip</strong></a></p><p>Usually there will be some issues with the driver installation process. So please make sure to install the drivers properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*5W9j8XXghzX0h7Z0CKD5SQ.jpeg" /></figure><p>Finally, go to <strong>Tools</strong> -&gt; <strong>Board</strong>, and select <strong>Digispark (Default — 16.5mhz)</strong> and set it as default.</p><p><strong>Step 2: Turning Digispark into a Rubber Ducky Clone</strong></p><p>Rubber Ducky uses a simple scripting language to create payloads. For Digispark, things are not that simple. We need to program our own payloads using <strong><em>Digikeyboard.h</em></strong> and Arduino IDE. There are <a href="https://github.com/PlatyPew/Digispark-Duckduino">some scripts available for Digispark ATTiny85</a> in the internet. But thanks to the work of MaMe82 (<a href="https://twitter.com/mame82">Marcus Mengs</a>) you can translate Rubber Ducky Scripts to Digispark with duck2spark project.</p><p><a href="https://github.com/mame82/duck2spark">mame82/duck2spark</a></p><p>A great feature of Duck2spark is that available solutions and tutorials emulating a RuberDucky-like on a DigiSpark suffer from poor keyboard layout support for non-US languages. This is solved by “outsourcing” the problem to DuckEncoder which supports multiple keyboard layouts.</p><p>Using Duck2spark is really easy. Let’s see an example of the duck2spark documentation, a classic hello world:</p><pre>Generate a DuckyScript test.duck you want to use as output:</pre><pre>echo &quot;STRING Hello World&quot; &gt; test.duck</pre><pre>Compile the script using DuckEncoder with your keyboard layout (de in example) or use my python port:</pre><pre>java -jar encoder.jar -i test.duck -o raw.bin -l de</pre><pre>Use duck2spark.py to convert into Arduino Sketch (options for single run, 2 seconds startup delay):</pre><pre>duck2spark.py -i raw.bin -l 1 -f 2000 -o sketch.ino</pre><pre>After setting up the Arduino IDE load the example &quot;DigisparkKeyboard&quot; and replace the Sketch source by the one saved to sketch.ino </pre><p>Click Sketch -&gt; Upload or click Upload button on the top left. Open a notepad or any software. Plug in the Digispark USB again and magically “Hello World” will be typed.</p><p>Rubber Ducky Payloads can be anything; It changes as per our goals and intentions! We can Create Wireless Network Association, Download and execute payloads, reverse shells, etc. For pen testing engagements we can even use Meterpreter, Empire, Unicorn, or any other powershell payloads.</p><p><a href="https://github.com/hak5darren/USB-Rubber-Ducky/wiki/Payloads">hak5darren/USB-Rubber-Ducky</a></p><p><strong>Troubleshooting</strong></p><p>If you are able to program your Digispark and the code runs, but the sketches do not run after the Digispark is unplugged and plugged in again: You will need to update the bootloader. The bootloader has a built in updating mechanism. To flash the bootloader use the guide <a href="https://www.iot-experiments.com/micronucleus-bootloader-upgrade/">here</a> and the Digispark will work and run the sketches after unplugging and plugging back in.</p><p>Keep in mind that Digispark is OSHW (Open Source HardWare), there are no original Digispark or clone Digispark, they are all the same! The only difference is that some manufacturers flash old versions of the bootloader.</p><p><strong>Tips</strong></p><p>Digispark use do not end here, as an Arduino compatible development system it can be used for any Arduino based attack with minimal modifications. Even to use it for HID attacks is not essential to run Duck2Spark, if you want to work USB HID at low level Digispark has a built-in keyboard library called Digikeyboard.</p><p>A final tip for your Rubber Ducky clone: use some <a href="https://bit.ly/2CQfLpP">heat shrink tubing</a> to provide electrical insulation, mechanical protection, sealing, and some stealth to your new Digispark-Ducky. A device that’s cheap enough that you don’t mind leaving it at the scene if you’ve got to pull on your ninja outfit and <a href="https://www.youtube.com/watch?v=5aRDVVXMFzE">make a break for it</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*rLWVOIHX9L2vx3_7N9Ro3w.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d59afc1910" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/low-cost-usb-rubber-ducky-pen-test-tool-for-3-using-digispark-and-duck2spark-5d59afc1910">Low-cost USB Rubber Ducky pen-test tool for $3 using Digispark and Duck2Spark</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jailbreaking Xiaomi Mi SmartHome]]></title>
            <link>https://medium.com/@tomac/jailbreaking-xiaomi-mi-smarthome-7492fd9b5d41?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/7492fd9b5d41</guid>
            <category><![CDATA[internet-of-things]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Thu, 30 Aug 2018 22:48:58 GMT</pubDate>
            <atom:updated>2019-11-20T10:12:27.848Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*2K_9mdViSG9qXAfH8yhUHw.png" /></figure><p>I love products from Xiaomi. They have excellent build quality and they are relatively cheap, good quality and easily hackable. Many people know Xiaomi for their smartphones. However, in their home market in China they sell also smarthome components. As many of these systems they use a Xiaomi central hub that connects to and controls sensors (<a href="https://bit.ly/2MH7Uzt">Motion, Temperature, Door, Switches…</a>) and actuators (light bulbs, smartplugs, ….).</p><p>Right now, you can get a <a href="https://bit.ly/35gxHDw">Xiaomi Motion Sensor for under $13.00</a> including free shipping over on GearBest. When you compare to other motion sensors, the price is really low and you can easily deck out your home with enough sensors to almost fully automate it. If you are like me, you prefer not to go through the Xiaomi Cloud and set up your own DIY automated house solution.</p><p>In this post, i will outline how you can connect a Xiaomi sensor without using the SmartThings hub via the zigbee protocol to a mqtt server. The steps pretty much work for all zigbee powered Xiaomi devices and the only difference is the device handlers used for the different sensors.</p><p>Thanks to Koen Kanters project, zigbee2mqtt, you could build a homemade zigbee to the mqtt bridge in order to be able to control the devices using any mqtt server like the mosquito and we can control, for example, everything from Home Assistant through mqtt.</p><p>Koen software project supported devices from a <a href="https://github.com/Koenkk/zigbee2mqtt/wiki/Supported-devices">quite an extensive list</a>, including devices from vendors like Xiaomi, Ikea, Philips, OSRAM and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3096UVaJtFhd3U7h.png" /></figure><p>I assume that you already have a <a href="https://www.home-assistant.io/docs/installation/hassbian/installation/">Raspberry Pi with Home Assistant </a>and at least one xiaomi sensors (Example: <a href="https://bit.ly/35gxHDw">Xiaomi Passive Infrared Motion Detector</a>).</p><p>This project uses parts that are available on Ali Express to make a zigbee hub. Which makes the hub of xiaomi, (also philips hue or ikea hub) unnecessary. Finally a solution to replace the 3 proprietary zigbee hubs</p><p>The devices that you need to buy (total under $20) are:</p><p>◾ <a href="https://www.aliexpress.com/item/diymore-Bare-Board-Packet-CC2531-for-CC2650-Sniffer-Capture-USB-Protocol-Analyzer-Board-RF-Wireless-Module/32855873520.html?spm=2114.search0104.3.197.779533e7wcRYJp&amp;ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_5910015_5723115_10547_5723715_5890015_10548_5723815_5880016_10696_5723215_5724015_5723415_10084_5722215_10083_5970015_10618_5724315_10307_10820_10301_10821_5724215_10303_5724115_5723315_5723615_5722315_5960015_10059_5723015_5722115_5724515_100031_5723915_309_5725015_10103_5950015_5725115_5980015_5724915_5990015_5722415_525,searchweb201603_54,ppcSwitch_5&amp;algo_expid=78b1ef8a-6969-45f7-a648-f4d743300f9a-28&amp;algo_pvid=78b1ef8a-6969-45f7-a648-f4d743300f9a&amp;priceBeautifyAB=0">CC2531 USB Adapter</a></p><p>◾<a href="https://www.aliexpress.com/item/CC-Debugger-ZIGBEE-emulator-support-online-upgrade-original-shell-original-quality/32810938514.html?spm=2114.search0104.3.8.1add35a2L52BzZ&amp;ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_5910015_5723115_10547_5723715_5890015_10548_5723815_5880016_10696_5723215_5724015_5723415_10084_5722215_10083_5970015_10618_5724315_10307_10820_10301_10821_5724215_10303_5724115_5723315_5723615_5722315_5960015_10059_5723015_5722115_5724515_100031_5723915_309_5725015_10103_5950015_5725115_5980015_5724915_5990015_5722415_525,searchweb201603_54,ppcSwitch_5&amp;algo_expid=1d6b3436-ee16-4854-9f60-15a9b21819b2-1&amp;algo_pvid=1d6b3436-ee16-4854-9f60-15a9b21819b2&amp;priceBeautifyAB=0">CC Debugger</a> as the CC2531 USB stick needs to be flashed with a custom firmware.</p><p>◾<a href="https://www.aliexpress.com/item/Downloader-Cable-Bluetooth-4-0-CC2540-zigbee-CC2531-Sniffer-USB-dongle-BTool-Programmer-Wire-Download-Programming/32767478130.html?spm=2114.search0104.3.171.779533e7wcRYJp&amp;ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_5910015_5723115_10547_5723715_5890015_10548_5723815_5880016_10696_5723215_5724015_5723415_10084_5722215_10083_5970015_10618_5724315_10307_10820_10301_10821_5724215_10303_5724115_5723315_5723615_5722315_5960015_10059_5723015_5722115_5724515_100031_5723915_309_5725015_10103_5950015_5725115_5980015_5724915_5990015_5722415_525-5990015,searchweb201603_54,ppcSwitch_5&amp;algo_expid=78b1ef8a-6969-45f7-a648-f4d743300f9a-24&amp;algo_pvid=78b1ef8a-6969-45f7-a648-f4d743300f9a&amp;priceBeautifyAB=0">CC Adapter cable</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*5ukj1U9bLvGHffNq.jpg" /></figure><p><strong>DIY Xiaomi Gateway</strong><br>The Zigbee2mqtt wiki provides you <a href="https://github.com/Koenkk/zigbee2mqtt/wiki">all the information needed to get up and running</a>! Make sure you don’t skip sections if this is your first visit, as there might be important details in there for you.</p><p>After creating your new device you still have the process of pairing devices, configuring an MQTT server and connecting with Home Assistant, it is a process that does not extend here, but you can find it widely documented.</p><h3>Integrations</h3><p>Zigbee2mqtt integrates well with (almost) every home automation solution because it uses MQTT. However the following integrations are worth mentioning:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/0*BsRb4-hXFYU1AEp-.png" /></figure><p><a href="https://www.home-assistant.io/">Home Assistant</a></p><p><a href="https://www.home-assistant.io/hassio/">Hassio</a>: Using <a href="https://github.com/danielwelch/hassio-zigbee2mqtt">the official addon</a> from <a href="https://github.com/danielwelch">danielwelch</a></p><p>Generic install or Hassbian: Using instructions <a href="https://github.com/Koenkk/zigbee2mqtt/wiki/Integrating-with-Home-Assistant">here</a></p><p>Happy Automating!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7492fd9b5d41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kali Linux on your Pocket with the GPD 7 mini-laptop.]]></title>
            <link>https://medium.com/hackernoon/kali-linux-2018-2-on-your-pocket-with-the-gpd-7-mini-laptop-77b0d59dec40?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/77b0d59dec40</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kali]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 25 Jul 2018 08:05:32 GMT</pubDate>
            <atom:updated>2019-11-20T10:28:54.077Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*GhO584lpJxzZOP-x.png" /></figure><p>So after ten years, are <a href="https://medium.com/@tomac/qpd-pocket-7-the-return-of-the-hacker-netbook-fe9be1b02ebf">netbooks finally cool again</a>? In 2009 saw the zenith of this with regards to personal computing. The Netbooks as terribly fashionable, as platform holders did their best to squeeze as much computing as they could into as small a space as possible.Their ubiquity has all but vanished, given how powerful our smartphones have become. The phone that you’re reading this on, or is possibly in your pocket, or in your bag is a portable computing powerhouse — but imagine if something were not too much bigger than that, that you could do actual computer work on. A ultra portable computer running the last version of Kali <a href="https://hackernoon.com/tagged/linux">linux</a>.</p><p>Early this year <a href="https://bit.ly/2OzW1d0">bought a GPD Pocket 7 </a>a mini-PC the size of a portable video game console that sports a quad-core Intel Z8750 CPU, 8Gb DDR3 RAM, 128Gb Samsung eMMC for storage, 7000 mAh battery that manufacturer says should be good for up to 12 hous of run time, WiFi, bluetooth, HDMI port and all the things what would you want in a laptop of this size. The little computer measures just 7.1″ x 4.2″ x 0.7″ which makes it just a little larger than a big smartphone when the lid is closed. This thing looks adorable. It has the stylized Apple-style metal case rather than the more common plastic but whether you can actually fit the GPD Pocket in your pocket depends on how big your pockets are. GamePad Digital (GPD) a technology company based in Shenzen, China. Among other products, they have created several handheld video game consoles which run Android on ARM architecture and x86 Windows. And while Pocket it is not exactly cheap it is possible to find it at <a href="https://bit.ly/2OzW1d0">$539 the same price of the original GPD crowdfunding</a>.</p><figure><img alt="Image result for gpd mini kali" src="https://cdn-images-1.medium.com/proxy/1*TxquavGJy2rnScYZ3-e6Xg.png" /></figure><p>As is often the case with notebooks and Linux, the support shortly after hardware launch leaves much to be desired, even when the manufacturer offers its own linux and community driven support is already included in the recent versions of the Linux Kernel. Unfortunately the latest Kali need some kernel patches and workarounds to run on GPD. What people are doing meanwhile is installing ad-hoc Ubuntu or Xubuntu images (<a href="https://medium.com/@tomac/qpd-pocket-7-the-return-of-the-hacker-netbook-fe9be1b02ebf">I previously wrote about</a>) from a pendrive and then installing all the Kali tools they need via scripts like Katoolin (<a href="https://github.com/LionSec/katoolin">https://github.com/LionSec/katoolin</a>) which will effectively convert almost any debian-based distro into a (more-or-less) fully-fledged Kali platform.</p><p>And so it was until <a href="https://twitter.com/Re4sonKernel">Re4son</a> , a well respected hacker know for Raspberry Pi pentest oriented Linux builds, took things into his hands. Re4son has released <a href="https://whitedome.com.au/re4son/pocket-kali/">Pocket-Kali</a> a custom Kali Linux images for the GPD Pocket, including the lastest Kali.</p><p>Now installing Kali in the GPD is just as easy as in a vanilla PC. These are the steps you should follow:</p><pre>Download the latest ISO image from here:</pre><pre><a href="https://whitedome.com.au/re4son/download/kali-pocket/">https://whitedome.com.au/re4son/download/kali-pocket/</a></pre><pre>Write the image to a USB drive (DD, Rufus, Win32DiskImager, ..)</pre><pre>Insert the stick into your GPD pocket, turn on and press F7 until boot menu pops up</pre><pre>Select boot from USB stick</pre><pre>In the Kali menu, select “Kali Live” and boot into desktop</pre><pre>There are two ways to install:<br>1. The comfortable way with proper screen orientation but no encryption support<br>– select “Live (forensic mode)” and boot into desktop<br>– in Kali, run the debian-installer (if you booted into normal live mode, run GParted and unmount disks first)<br>2. The 90 degree way – use this if you want to install kali in an encrypted volume<br>– select “Install”<br>– tilt your head 90 degrees</pre><pre>Now you have to choose if you prefer to delete everything and install only Kali Linux or resize Windows and have both.</pre><pre>Reboot</pre><pre>Enjoy</pre><p>The Pocket-Kali image comes with only “top10” &amp; “wireless” set of Kali tools to keep the size down. Just run “kali-linux-full” to get the whole shebang.</p><p>If you choose to install Kali alongside with Windows 10 keep in mind that it is possible that after the installation Windows option do not appear in the boot grub menu. The solution is as easy as running “grub-update” from a root console and restarting the system.</p><p>After some testing of Kali-Pi current Version: 4.18-rc5-re4son+_1 i have managed to get Kali up and running on the GPD pocket and everything works fine the fan, Wake/Sleep, WiFi/Bluetooth, proper screen rotation, graphics and audio.</p><p>Remember that the mini GPD does not have an Ethernet port, but that something easily solved with one <a href="https://www.gearbest.com/usb-accessories/pp_1020102.html?lkid=12446224">USB-C gigabit ethernet adapters</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*rlw50ayksPFribfS.jpg" /></figure><p>Thanks to its size and Kali Linux the GPD becomes an all around device for the Pen-testing on the go. Couple it with some external devices such as high power wifi/bluetooth or SDR radio receiver to turn it into the ultimate portable wardriving machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*r3rIDy1sDiMKBV5spBlrbQ.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77b0d59dec40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/kali-linux-2018-2-on-your-pocket-with-the-gpd-7-mini-laptop-77b0d59dec40">Kali Linux on your Pocket with the GPD 7 mini-laptop.</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This $3 DIY USB Device Will Kill Your Computer]]></title>
            <link>https://medium.com/hackernoon/this-3-diy-usb-device-will-kill-your-computer-33c4bdb1da40?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/33c4bdb1da40</guid>
            <category><![CDATA[3-dollar-diy-usb-device]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[usb]]></category>
            <category><![CDATA[dangerous]]></category>
            <category><![CDATA[hacker]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 20:06:14 GMT</pubDate>
            <atom:updated>2019-05-22T06:03:53.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*OfcFC5xn1dlH_MKK.jpg" /></figure><p>This seemingly harmless <a href="https://bit.ly/2tzgjJI">USB air purifier device</a> if modified by someone malicious can damage your computer irreparably. Know the threat of the <a href="https://hackernoon.com/tagged/usb">USB</a> Killer, its history and how it is possible to buy it online ready to use or improvise it from low cost components.</p><p>A few years ago, DarkPurple a Russian hacker demonstrated the “USB killer 2.0” the USB equivalent of an RJ45 connector wired into mains power. Once connected, the USB <a href="https://hackernoon.com/tagged/device">device</a> sends high-voltage negative DC through a USB port until it fries the circuitry of the host device. The USB Killer is a simple device with just a FET, a few high voltage caps, a DC/DC converter, and a USB connector. Plug this device into your computer and -220V is dumped directly into the USB signal wires. This will kills your laptop dead.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_TidRpVWXBE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_TidRpVWXBE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_TidRpVWXBE%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e959f584ce7a7eb15a6d098f529cb9de/href">https://medium.com/media/e959f584ce7a7eb15a6d098f529cb9de/href</a></iframe><p>Over the years we’ve seen the USB Killer evolve as a crowdfunding campaign run by a company in Hong Kong make a similar device commercially available. The “<a href="https://usbkill.com/products/usb-killer-v3#/2-edition-anonymous_editio">USB Kill 3.0</a>”, marketed as a testing tool for administrators looking to protect their systems, sells for €49.95 Euro (around US $60).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*thO_pAPZnM2Td_1Yhdsh4A.png" /><figcaption>Commercial USB Killer V3</figcaption></figure><p>Despite the obvious nefarious potential for the tool, its public release appears well-intentioned. Or at least that’s what the manufacturer says. The USB Killer was developed by a security hardware team based in Hong Kong, who first publicized the vulnerability it targets over a year ago, and developed an early prototype.</p><p>But the team was deeply frustrated to see consumer electronics developers take little action on closing the vulnerability. According to the team, <a href="http://fortune.com/fortune500/apple/">Apple</a> is to date the only manufacturer that protects their devices against this so-called USB surge attack.</p><p>“Despite adequate warning, and time to respond,” the USB Killer team <a href="https://www.usbkill.com/blog/usb-kill-behind-the-scenes-b40.html">writes</a>, “the majority of consumer-level hardware manufacturers choose not to protect their customer’s devices. We are disheartened by this <strong>lack of respect for customers</strong>.” Their emphasis, not ours. I have no idea what this actually means.</p><p>According to USB Killer 3.0 manufacturer tests, over 95% of devices are affected by a USB power surge attack. Almost all consumer-level hardware fails somehow when tested against the USB Kill. The most frequent outcome is the complete destruction or permanent damage of the device (laptops, smart TVs, car audio, etc).</p><p>More recently, Kedar Nimbalkar found that it is very easy to modify a <a href="https://bit.ly/2tzgjJI">$3 USB Air Purifier</a> that in itself has the harmless aspect of a thumb drive in the home equivalent of a USB killer, only for the cost of $ 3 and a small modification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xxayjo-WnAjCoUp7EGUXTg.png" /><figcaption>Air purifier turned into a USB Killer</figcaption></figure><p>Ionizer purifiers use high voltage electrostatics charged electrical surfaces or needles to generate electrically charged air or gas ions. These ions attach to airborne particles which are then electrostatically attracted to a charged collector plate. This mechanism produces trace amounts of ozone and other oxidants as by-products. Permanently mounted home and industrial ionizer purifiers are called electrostatic precipitators.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F82-MDymVkps%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D82-MDymVkps&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F82-MDymVkps%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b30376ed568f0c87f762a95c5d7a3cda/href">https://medium.com/media/b30376ed568f0c87f762a95c5d7a3cda/href</a></iframe><p>Nimbalkar found that if you disconnect the charged needle and route the output from a capacitor to either of the two data lines (not normally used in this device) you create a device equivalent to a USB Killer, but still harmless looking.</p><p>While not the original USB Killer it is still a very dangerous device and it would at least fry the USB port and kill the USB controller. The high integration and miniaturization of the components of modern devices such as laptops makes them much more vulnerable than the old desktop computer in which the USB controller was a physically separate from CPU. On modern system on chip (<strong>SoC</strong>) is an integrated circuit that integrates all components of a computer or other electronic systems from CPU to USB Controller.</p><p>While it may seem like a fun idea to make one of these devices it is important to test it only on some old computer of our legal ownership, as bringing a purpose built destructive device proves premeditated intent which escalates your practical joke to criminal damage in most jurisdictions around the world.</p><p>If you found a pretty little USB stick on the ground, would you plug it in to see what’s there? Maybe it’s curiosity or some users connect the drive with the altruistic intention of finding the owner. No? OK, what do you think your parents, neighbors, and co-workers would do?</p><p>But that’s exactly the wrong thing to do. It’s a really bad idea to plug anything of unknown origin into your computer. During a 2016 <a href="https://zakird.com/papers/usb.pdf">study out of the University of Illinois</a> investigated the anecdotal belief that end users will pick up and plug in USB flash drives they find by completing a controlled experiment in which researchers drop 297 flash drives on a large university campus. They found that the attack is effective with an estimated success rate of 45–98% and expeditious with the first drive connected in less than six minutes</p><p>One can imagine that maybe it is better not to open the files, or you may think you have some security knowledge and try to mount it as read only from Linux, however if the device is a USB Killer you will get an unpleasant surprise.</p><p>That’s right, guys, do not connect anything USB to your computer you if you do not know where it came from, especially if it seems to be an air purifier.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33c4bdb1da40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/this-3-diy-usb-device-will-kill-your-computer-33c4bdb1da40">This $3 DIY USB Device Will Kill Your Computer</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Osmo-FL2k: A $15 DTV transmitter, FM radio hijack and GPS Spoofing device.]]></title>
            <link>https://medium.com/hackernoon/osmo-fl2k-a-15-dtv-transmitter-fm-radio-hijack-and-gps-spoofing-device-68ac08ba7d76?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/68ac08ba7d76</guid>
            <category><![CDATA[ham-radio]]></category>
            <category><![CDATA[radio]]></category>
            <category><![CDATA[spoofing]]></category>
            <category><![CDATA[sdr]]></category>
            <category><![CDATA[gps]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Mon, 30 Apr 2018 10:47:50 GMT</pubDate>
            <atom:updated>2019-05-22T06:03:54.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*lgTmPUVT1pLQCKILLvY4OQ.jpeg" /></figure><p>Osmo-FL2K, which is a recently released open source <a href="https://hackernoon.com/tagged/software">software</a> by Steve Markgraf at OsmoDevCon 2018 that turns a common <a href="https://www.gearbest.com/cables-connectors/pp_1238337.html?lkid=15359150">$15 USB to VGA adapter</a> into a transmit only capable Software Defined <a href="https://hackernoon.com/tagged/radio">Radio</a> (SDR). Slides of the presentation available at <a href="http://people.osmocom.org/steve-m/fl2k_slides/osmo-fl2k.html">http://people.osmocom.org/steve-m/fl2k_slides/osmo-fl2k.htm</a></p><p>Although wide-band SDR receivers are cheap until now you had to spend at least $400 if you wanted a Hack-RF SDR or similar setup capable of transmitting.</p><p>This cheap USB2VGA device and the published sample code will allow us to broadcast FM radio, DTV television using the European DVB standard , a fake GPS satellite signal or simulate a UMTS base station. This can be used for practical jokes such as interfering with a co-worker’s radio or for malign purposes such as cheating GPS receivers used to track valuable merchandise or get <a href="https://www.newscientist.com/article/2143499-ships-fooled-in-gps-spoofing-attack-suggest-russian-cyberweapon/">ships lured off-course</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRdwg_0aSsp0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRdwg_0aSsp0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRdwg_0aSsp0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ebf94b5dbd0f975b1fe7caaa69e17877/href">https://medium.com/media/ebf94b5dbd0f975b1fe7caaa69e17877/href</a></iframe><p>Although the power output is low, it is more than enough to hijack an FM radio a few meters away, or impersonate the signal from a GPS satellite that normally emits a low power signal thousands of kilometers away. So beware the unlicensed broadcast on most frequencies may be illegal in your country. It is the responsibility of the end user to ensure that he performs his tests within the legal limits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*soVFuFUj2FUD_44f." /></figure><p>The idea of using VGA adapters as a transmitter has a long history.<br>In 2001 Erik Thiele released <a href="http://www.erikyyy.de/tempest/">Tempest for Eliza</a>, which transmits a signal that can be received with an AM radio. Some time later Fabrice Bellard used an ATI Radeon 9200SE to transmit DVB-T, PAL and NTSC video signals. Later in 2009, Bartek Kania published VGASIG, which allows to transmit wideband FM radio in realtime using SDL and a regular graphics card. But all of them were ugly hacks, not having the ability to transmit arbitrary signals like making a true SDR until now. In addition, VGA ports are becoming less common in laptops and desktops.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*r0fykNQvjCxSpfmr." /></figure><p>However Osmo-fl2k allows to use USB 3.0 to VGA adapters based on the Fresco Logic FL2000 chip, which are available for around $15, as general purpose DACs and SDR transmitter generating a continuous stream of samples by avoiding the HSYNC and VSYNC blanking intervals, thus becoming a real general purpose SDR transmitter.</p><p>The frequency range depends in the capabilities of the USB 3.0 controller that our computer has. In the tests of Steve an Intel Corporation 8 Series USB xHCI HC (rev 04) reaches 157 MS/s so it is possible to transmit practically from 0–157 Mhz. But since our VGA does not have any type of filtering, it is possible to use the harmonics as any 150 Mhz transmitter will also TX on 300 Mhz, 450 Mhz and so on. In this way Steve has shown that it is possible to simulate a 900 Mhz GSM/UMTS telephone base station or spoof the GPS signal at 1575 MHz, transmitting on a lower frequency that has a harmonic at the appropriate frequency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TTeTwGiwRbOXxOzjIq_RBw.jpeg" /><figcaption>GSM Network Spoofing</figcaption></figure><p>The GSM Base Station it’s TX only so you can’t do a handshake and cellphone register; but the fact it’s precise enough to transmit a broadcast frame that a handset can decode is pretty impressive. You can still couple it with a RTL-<a href="https://phasenoise.livejournal.com/1723.html">SDR receiver dongle</a> and <a href="https://github.com/ptrkrysik/gr-gsm">gr-gsm</a> monitoring the uplink frequency for a cheap <a href="https://arstechnica.com/tech-policy/2013/09/meet-the-machines-that-steal-your-phones-data/">Stingray-like cellphone detector/tracker device</a>.</p><p>Only devices based on the Fresco Logic FL2000 chip are supported. Typically they are branded as generic “USB 3.0 to VGA” adapters, and are advertised with a maximum resolution of 1920 × 1080 for USB 3.0. Beware: If they are advertised with 2048 × 1152 maximum resolution and support for Mac OS X, or only have a USB 2.0 interface, they contain a DisplayLink chipset and are <strong>not compatible</strong> with osmo-fl2k!</p><p>Warning: you can find FL2K dongles without brand cheaper than $10 but they are useless since they do not usually carry the needed USB 3.0 traces, requiring<a href="http://tinyhack.com/2018/05/05/fixing-osmo-fl2k-dongle-that-only-works-in-usb-2-0/"> a complex hw modification to restore its operation</a>.</p><p>The best way to determine if a device is compatible is to obtain the manufacturer’s driver download and verify that it has references to Fresco Logic FL2000. One of these devices is the <a href="https://www.gearbest.com/cables-connectors/pp_1238337.html?lkid=15359150">Maiwo KCB003</a>. It can be found at $15 dollars in usual Chinese online stores like Gearbest or <a href="https://bit.ly/2r9VmnF">Dealextreme</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*FjF0kU3F68CNCHmbuVOg4w.png" /><figcaption>MAiwo KCB003 FL2K based VGA dongle.</figcaption></figure><h3>Compiling and running Osmo-fl2k</h3><p>Download Source code is available from git.osmocom.org<br>web access: <a href="http://git.osmocom.org/osmo-fl2k">http://git.osmocom.org/osmo-fl2k</a></p><pre>#In order to compile and install the code, you first need to install #the libusb headers if not already present and sox pv tools for FM</pre><pre># On distributions based on debian<br>sudo apt-get install libusb-1.0-0-dev sox pv</pre><pre>#Then you can continue with:</pre><pre>git clone git://git.osmocom.org/osmo-fl2k.git<br>mkdir osmo-fl2k/build<br>cd osmo-fl2k/build<br>cmake ../ -DINSTALL_UDEV_RULES=ON<br>make -j 3<br>sudo make install<br>sudo ldconfig</pre><pre>#Before being able to use the device as a non-root user, the udev #rules need to be reloaded:</pre><pre>sudo udevadm control -R<br>sudo udevadm trigger</pre><p>Quick test that uses your Fresco Logic 2000 dongle to send out FM radio signals. You can then hear computer generated music in your radio. To transmit the audio output as mono Wide Band FM at 95 MHz, you can use the following command:</p><pre>pacat -r -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | \<br>pv -B 256k | \<br>sox -t raw  -r 44100 -e signed-integer -L -b 16 -c 2 - -c 1 -e signed-integer -b 16 -t raw - \<br>biquad 4.76963 -2.98129 0 1 0.78833 0 sinc -15k loudness 5 | \<br>fl2k_fm - -s 130e6 -c 35e6 -i 44100</pre><p>Although the examples work at a very short distance without the need to connect anything to the VGA port the range of the signal can be increased by connecting an antenna-like cable to the red pin (Pin 1 of the three-row 15-pin VGA connector). The ideal lenght is the size that is a quarter of a wave of the chosen frequency. You can calculate it <a href="http://wxtofly.net/wavecalc.htm">using this website</a>.</p><p>Once you have the FM transmitter running, you can move on to other more complex modulations using FL2K-examples (FM-RDS, DAB, DVB-T, GPS, GSM, <a href="https://github.com/steve-m/fl2k-examples">LTE, UMTS) https://github.com/steve-m/fl2k-examples</a></p><p>Before transmitting any signals with an FL2000 device, Steve is strongly suggesting that you check the resulting spectrum with a spectrum analyzer, and apply proper filtering to suppress any but the desired transmit frequency to comply with local regulations.</p><p>Credits: This article is based on the the original “Tempest for Eliza” concept by Erik Thiele , OsmoFL2k software from Steve Markgraf and GPS spoofing demo from mars999mini.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68ac08ba7d76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/osmo-fl2k-a-15-dtv-transmitter-fm-radio-hijack-and-gps-spoofing-device-68ac08ba7d76">Osmo-FL2k: A $15 DTV transmitter, FM radio hijack and GPS Spoofing device.</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How-to Install LibreELEC Linux on cheap Android TV Box]]></title>
            <link>https://medium.com/@tomac/how-to-install-libreelec-linux-on-cheap-android-tv-box-51f82cdf10c1?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/51f82cdf10c1</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kodi]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 11:57:14 GMT</pubDate>
            <atom:updated>2018-09-24T14:19:01.386Z</atom:updated>
            <content:encoded><![CDATA[<p>Today there are many <a href="https://bit.ly/2zq2ksZ">cheap Android boxes,</a> one of the most common processor is the Amlogic S905 or its more modern variants S905X and S905W. Those Quad-core Cortex-A53 CPUs can run 4K video on Android smoothly. But your Amlogic device is capable of some pretty cool things, one of those is running a full Linux operating system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*NJSv0Fu6wfB4qFjrTTjmFg.png" /><figcaption>X96 Mini Board</figcaption></figure><p>In my case I have an X96 Mini, at a <a href="https://www.gearbest.com/tv-box/pp_715051.html?wid=21&amp;lkid=13590174">price of $40 USD</a> compares excellently against the $35 Raspberry Pi 3. Among others this small device has a fast Amlogic S905W quad-core 2GHz and Mali-450MP GPU, 2GB RAM and 16GB Flash, micro-sd reader, Ethernet &amp; built-in WiFi, 2 USB ports and HDMI/AV output. BTW the X96 mini comes with everything you need as a power source, HDMI cable and IR remote control.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mk6ARpgZn7qGm0s2DRW63g.jpeg" /></figure><p>As the purpose I had for this device was to use it for TV streaming I choose to install LibreELEC, but you could run a standard distribution Armbian versions from <a href="https://forum.armbian.com/profile/1215-balbes150/">balbes150</a> if you like. LibreELEC (short for Libre Embedded Linux Entertainment Center) is a non-profit fork of OpenELEC Linux software appliance TV distro.</p><p>LibreELEC is a complete media center software suite for embedded systems and computers, as it comes with a pre-configured version of Kodi and optional third-party PVR backend software. Kodi is one of the most popular media player and for good reason. The open-source program makes it easy to organize local files and watch streaming media on a wide variety of devices, all with the same highly customizable interface and user-friendly features.</p><p>Why Use LibreELEC instead of Android?</p><p>Free software is a matter of liberty — Think of ‘free’ as in ‘free speech,’ not as in ‘free beer.’ Free software is a matter of the users’ freedom to run, copy, distribute, study, change, and improve the software.</p><p>Extremely easy to use — As you can see from our installation and setup guide, it’s incredibly easy to get started using LibreELEC. Unlike some Linux ARM-based distributions, it’s pretty much impossible to install LibreELEC incorrectly. Because minimal configuration and setup are required to get started, just about anyone can use LibreELEC.</p><p>Kodi comes pre-installed — LibreELEC comes with a specialized, updated version of Kodi pre-installed.</p><p>Incredibly fast and lightweight — The LibreELEC OS is as barebones as possible. Essentially every Linux function that’s not necessary for running Kodi has been trimmed away.</p><p>The <a href="https://www.gearbest.com/tv-box/pp_715051.html?wid=21&amp;lkid=13590174">X96 mini</a> will boot from microsd by default so we can install our LibreELEC in dual boot mode, without deleting or modifying the android partition. Although if we wanted we could replace the content of the NAND Flash completely.</p><p>The installation process is very simple. All credit goes to KSZAQ’s for this epic port of LibreELEC for S905,S905X,S912 Amlogic TV box’s .</p><p>First you will need to download a few files:</p><p>KSZAQ’s S905 LibreELEC Port: <a href="https://kszaq.libreelec.tv/s905/8.2/8.2.3.1/LibreELEC-S905.arm-8.2-8.2.3.1.img.gz">LibreELEC-S905.arm-8.2–8.2.3.1.img</a></p><p>S905X DTB File for 2GB RAM version: download them here <a href="https://sx05.eu/s905/8.2/device_trees/S905X/gxl_p212_2g.dtb">https://sx05.eu/s905/8.2/device_trees/S905X/gxl_p212_2g.dtb</a></p><p>You can copy/flash/clone the above IMG file to micro-sd card (like it is done with mkusb and dd) or using Win32DiskImager.</p><p>Open LibreELEC file onto Win32disk and click write to burn the IMG file onto your SD card</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*cbXNaPncsJeOAhOaVe7o5g.png" /></figure><p>Open up your SD card copy the DTB file (<a href="https://sx05.eu/s905/8.2/device_trees/S905X/gxl_p212_2g.dtb">gxl_p212_2g.dtb</a>) and change the name of them to “dtb.img”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*eZJZi01CB9rLcB8GmuWlGg.png" /></figure><p>Insert your SD Card into your device and reboot. If LibreELEC fails to boot locate the reset button, found within a AV port , hold the button, apply power then release button.</p><p>While the Kodi installation included with LibreELEC is not exactly the same as the desktop version, it works very similarly.</p><p>Here’s a screenshot of the main LibreELEC menu on my TV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pu4v_bURhBp6TBVDVSiyaw.jpeg" /></figure><p>You can install third-party add-ons and official Kodi add-ons just like you would on the desktop Kodi application, so your choices are nearly limitless!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51f82cdf10c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacking a $30 IoT camera to do more than it’s worth.]]></title>
            <link>https://medium.com/hackernoon/hacking-a-25-iot-camera-to-do-more-than-its-worth-41a8d4dc805c?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/41a8d4dc805c</guid>
            <category><![CDATA[xiaomi]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[hacked]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Wed, 28 Feb 2018 19:44:54 GMT</pubDate>
            <atom:updated>2019-06-13T09:21:54.836Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="http://bit.ly/2EwpHR1">Xiaomi Dafang IP</a> camera is a indoor motorized WiFi camera capable of 1080P resolution and decent night-vision, its price is cheap but in exchange you are tied to the Xiaomi’s Mi Home App &amp; Cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLWwlFmBCASvwq9lrCOABQ.png" /></figure><p>The Xiaomi Dafang IP camera is the successor of the <a href="https://medium.com/@tomac/rtsp-hack-for-a-15-xiaomi-wifi-ip-camera-453690396691">$15 Xiaomi Xiaofang</a> Camera and continues the line of Xiaomi’s range of quality inexpensive IP cameras. The new model comes with a set of new features: better image quality, MicroSD Port, a rotating gimbal, on the back a USB port which can be used to charge other devices, and a variety of alarm sensors and more. In this post, we take a closer look at camera CFW alternative open source firmware install.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-lFQeDK8O-Bk1wsBKN4TIw.jpeg" /><figcaption>Mainboard (Ingenic XBurst <strong>T20</strong> SoC) and motor assembly.</figcaption></figure><p>For the lowest price (shipped from China), check out the usual retailers like <a href="https://www.gearbest.com/ip-cameras/pp_693217.html?lkid=11893441">Gearbest Xiaomi Dafang</a> or <a href="http://bit.ly/2EwpHR1">Dealextreme Xiaomi Dafang</a> (extra 5% coupon code for a better price, DX coupon: APRBRAND).</p><h3>Out-of-the-box Limitations</h3><p>Xiaomi has imposed a few limitations on this camera out of the box as camera footage only viewable through the MiHome app and a MiHome account is required.</p><h3>Fixing the Limitations</h3><p>EliasKotlyar on GitHub has released a collection of modifications (CFW) for the camera: <a href="https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks">https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks</a></p><p>The CFW contains of two parts:</p><p>The Custom-Firmware, which alters the original firmware to boot from microsd. It needs to be flashed instead of the original firmware. This part does not contain any custom software, its just allows you to boot from microsd. You will have to do this only once.</p><p>The CFW-Files, which contains the custom-software. You will have to install them onto your microsd-card after you completed before. You can modify this part easily by changing the files on the microsd.</p><p>Can i revert the firmware back to the original one? Yes, you can. However there is no need to revert it back. If your SD-Card does not contain the CFW-Files, you will just boot the original software.</p><h3>How to flash CFW?</h3><p>Download CFW-Binary. <a href="https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/cfw/cfw-1.3.bin">https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/cfw/cfw-1.3.bin</a></p><p>Ensure that the downloaded File-size is something about 11.1MB .</p><pre><strong>Steps to flash the hacked loader firmware:</strong></pre><pre>Turn off the camera</pre><pre>Get a firmware binay and rename it to &quot;demo.bin&quot;. There should be a FAT filesystem and no more files in the sdcard.</pre><pre>Insert the sdcard containing the firmware into the camera. </pre><pre>Press and hold the reset camera (setup button), then turn on the camera. Wait until the light get blue, you can release the reset button.</pre><pre>Wait until the firmware has finished flashing (like 5 minutes). Disconnect the power as soon as the base starts moving.</pre><pre><strong>Steps to install CFW files:</strong></pre><pre>Clone the repository from github. If you are on windows download the repository as zip file.</pre><pre>Copy everything from &quot;firmware_mod&quot; folder into the root of the microSD</pre><pre>It should look like this:</pre><pre>E:/<br>├── bin<br>├── config<br>├── run.sh<br>├── scripts<br>└── www</pre><pre>Modify the file config/wpa_supplicant.conf on the microSD to match your wifi-settings<br>Insert the microSD and start the camera.</pre><p>That’s it.</p><h3>Which Features does the CFW contain?</h3><ul><li>Full working RTSP with H264/MJPEG. Based on <a href="https://github.com/mpromonet/v4l2rtspserver">https://github.com/mpromonet/v4l2rtspserver</a></li><li>SSH-Server(dropbear)</li><li>FTP-Server(bftpd)</li><li>Webserver(boa)</li><li>Image-Snap (Get Jpeg Image)</li><li>Horizontal/vertical motor rotation / move to center</li><li>Turn on/off blue/yellow/IR LEDs/IR-Cut</li><li>Local h264 recording possible</li><li>Remote Audio Playback &amp; Recording</li><li>MQTT</li><li>Home-Assistant integration</li></ul><h3>Connecting to CFW</h3><p>Once installed and setup as per the instructions open a web browser and enter the IP address of the camera in the address bar</p><p>Select services you want to run:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*c9wqehD781j0nA246qy_AA.png" /></figure><ul><li>RTSP Stream(sample using MJPEG RTSP):</li></ul><pre>Once the RTSP stream is up and running at rtsp://ip-address:8554/unicast, you can to connecting to it with VLC (File &gt; Media &gt; Open Network Stream)</pre><ul><li>Local h264 recording possible:</li></ul><pre>/system/sdcard/bin/h264Snap &gt; /system/sdcard/video.h264</pre><ul><li>Audio recording/playing is also possible:</li></ul><pre>Playing Audio:<br>/system/sdcard/bin/ossplay /usr/share/notify/CN/init_ok.wav</pre><pre>Recording Audio:<br>/system/sdcard/bin/ossrecord /system/sdcard/test.wav</pre><p>In addition you can control some functions of the camera directly from, GPIOS like the blue/yellow LED, IR Filter and IR LED, X and y motor movements etc</p><p>I use TinyCam on an Android to view my RTSP stream locally. You can get the basic PTZ stuff to work in TinyCam. Check out the instructions from MasterPIC in this thread: <a href="https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/41">https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/41</a></p><p>I tested CFW with iSpy but over the Internet I view the stream from MotionEye running on my <a href="https://hackernoon.com/from-tv-box-to-high-performance-single-board-computer-running-linux-on-the-khadas-vim2-max-5c00f6e95aa4">VIM2</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FjFGosB6FnSx6q_yjq2iLA.png" /><figcaption>Sample night vision mode of Hanizzo</figcaption></figure><p><strong>I would recommend this camera to everyone out there!</strong> You won’t find any other looking as great as this one with all those hacked extra features for such a small price!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41a8d4dc805c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/hacking-a-25-iot-camera-to-do-more-than-its-worth-41a8d4dc805c">Hacking a $30 IoT camera to do more than it’s worth.</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How-to Backup Windows 10 image on GPD Pocket 7 Mini-Laptop]]></title>
            <link>https://medium.com/@tomac/how-to-backup-windows-partition-on-gpd-pocket-7-mini-laptop-e8ea022772cd?source=rss-de74896f1aa2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8ea022772cd</guid>
            <category><![CDATA[gpd]]></category>
            <category><![CDATA[data-recovery]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Tomas C.]]></dc:creator>
            <pubDate>Fri, 12 Jan 2018 13:00:24 GMT</pubDate>
            <atom:updated>2018-01-13T12:44:30.735Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*RsM1bayjEE_kwFuR7fxPzg.png" /></figure><p>Since I wrote how to install <a href="https://medium.com/@tomac/a-kali-linux-on-your-pocket-kali-2017-3-on-gpd-7-mini-laptop-637c897488d">Kali Linux 2017.3</a> or any other linux in the <a href="https://www.gearbest.com/tablet-pcs/pp_613003.html?lkid=11226317">GPD Pocket mini-laptop</a>, many people have asked me how to backup the Windows partition before starting the process.</p><p>Sometimes still difficult to take the leap of faith and actually try it out Linux. So for all those who are afraid of not be able to boot Windows after the installation of Linux today I will tell you how to create a Windows 10 recovery disc, if for some reason this fails I will also leave links to the official windows images of the manufacturer to perform an installation from scratch.</p><p>Obviously you can also use Clonezilla or even plain old “dd” image but surely most people who want to make a backup of windows are not familiar with these tools. Fortunately you can create a rescue disk within Windows. This is what I did for a quick test, and I was able to re-install Windows with no problem after using Kali Linux for a while.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94sQn3kqFpdRn4w_IBBUWw.png" /></figure><p>From Windows 8, Windows added a feature to create a recovery drive using a USB drive to troubleshoot and reset your computer when your computer is in serious condition.</p><p>Recovery media allow you to use Windows recovery options even when your computer fails to load. If you cannot restore your computer, Windows recovery drive also gives you a chance to reinstall Windows 10.</p><p><strong>How to create a Windows 10 recovery drive for my GPD Pocket?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*QMJxy2vyVa8vCVXGQjXz8A.png" /></figure><p>While creating a recovery drive, the program will copy a lot of files to the USB drive, so you need to prepare a flash drive that has at least 32GB capacity.</p><p>Before you do, please note that all the data on the USB drive will be deleted in this process.</p><p>1. Connect the USB drive to your computer, and then type “recovery drive” into the search box. In the listed results, select “Create a recovery drive”.</p><p>2. In the pop-out window, check the option “Back up system files to the recovery drive” and hit “Next”.</p><p>3. Then select the USB flash drive you prepared, and click”Next” to continue.</p><p>4. On the next screen, click “Create” to begin creating the recovery drive.</p><p>When your computer fails to boot win10 or if for some strange reason you want to go back to windows from linux, you can plug in this Windows 10 recovery USB drive to recover your system. Insert the stick into your GPD pocket, turn on and press F7 until boot menu pops up. Select boot from USB stick</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*RJzcxIEuWhqbafiSD0i9_w.png" /></figure><p>If for some reason this recovery USB image fails, there is still the option to use Windows 10 install media and the drivers of our GPD. Use Microsoft media creation tool to download the latest Win10, it will install successfully but you will have no WiFi, Sound, etc. DL Ford put a great how to re-install all needed drivers <a href="https://dlford.io/blog/post/gpd-pocket-drivers">https://dlford.io/blog/post/gpd-pocket-drivers</a>.</p><p>So now there are no more excuses to <a href="https://medium.com/@tomac/qpd-pocket-7-the-return-of-the-hacker-netbook-fe9be1b02ebf">try linux in your GPD</a>, for sure you will not need Windows again but just in case you can go back whenever you want.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8ea022772cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>