HNHacker News
TopNewBestAskShowJobs

amckenna

477 karma · joined October 22, 2012

submissionscomments
amckenna··on My adventures in CNC robotics
For any that were not aware, this is the same Zalewski that did a lot of great work around the Shellshock bug. He found 2 additional issues with the parsing function after the initially reported bug. CVE-2014-6277 and CVE-2014-6278

http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-...

I don't know where he finds time to sleep.

amckenna··on “Did you mean?” Experience in Ruby
I don't think this has to do with a lack of knowledge of documentation, it has to do with simple spelling errors. Quite a number of times I type a method name wrong and upon scanning the code don't see the missing, duplicated, or mistyped letter. This would help a lot with that.
amckenna··on FTDI driver kills fake FTDI FT232s
If anyone is curious what a real vs fake FTDI chip looks like under the hood (de-capped chip) this is a great analysis and some beautiful pictures.

http://zeptobars.ru/en/read/FTDI-FT232RL-real-vs-fake-supere...

Exerpt:

"What's the economic reason of making software fake of well-known chip instead of making new one under your own name? This way they don't need to buy USB VID, sign drivers in Microsoft, no expenses on advertisement. This fake chip will be used right away in numerous mass-manufactured products. New chip will require designing new products (or revisions) - so sales ramp up will happen only 2-3 years later. Die manufacturing cost is roughly the same for both dies (~10-15 cents)."

amckenna··on Tyupkin: Manipulating ATM Machines with Malware
There was a great talk several years back at Blackhat/Defcon by the late Barnaby Jack about hacking ATMs. He targeted the generic ATMs typically seen in gas stations, but some of the same techniques apply.

part 1 of 3 - https://www.youtube.com/watch?v=4QG1A9FuNkw

amckenna··on SpaceX Vies With Boeing as NASA’s Taxi to Station
I watched it a few nights ago and it was pretty good. It was cool to see each of the vehicles/capsules, their insides, and the facilities that are building them. Definitely recommend watching.
amckenna··on The Home Depot confirms payment systems breach
Yup you are correct. The chip acts as a proof of presence and a second factor of authentication. It is technically possible to export the cert off of the chip but it would cost several hundred thousand dollars and a lab with a Focused Ion Beam :)
amckenna··on The Home Depot confirms payment systems breach
It doesn't protect the information but it does protect a user from the re-use of the information because the physical card is needed to perform an EMV transaction.

Banks are switching to the EMV system because they can place the liability on the merchant if a fraudulent transaction is performed through them when they could have required an EMV transaction (thereby preventing the fraud).

amckenna··on The Home Depot confirms payment systems breach
I think you are forgetting that EMV cards introduce the concept of digitally signing a transaction. That signature is then checked by the payment card processor and if it matches then the charge goes through. The signatures are performed by the chip on the card using a non-exportable certificate. This provides the "proof of presence" for the card and makes duplicating the EMV portion virtually impossible. This doesn't stop the other portions of the card from being stolen, but if merchants force EMV only transactions, stolen credentials cannot be used. It's a step in the right direction.
amckenna··on Meet ‘Project Zero,’ Google’s Secret Team of Bug-Hunting Hackers
There is a lot of more classroom style learning on: http://opensecuritytraining.info/Training.html

I also like: https://pentesterlab.com/exercises/ for web based attack walkthroughs and practice.

http://vulnhub.com/ is a great resource for vulnerable systems to practice on.

amckenna··on Announcing Project Zero
The answer to #1 is in the wired article about Project Zero:

"When Project Zero’s hacker-hunters find a bug, they say they’ll alert the company responsible for a fix and give it between 60 and 90 days to issue a patch before publicly revealing the flaw on the Google Project Zero blog. In cases where the bug is being actively exploited by hackers, Google says it will move much faster, pressuring the vulnerable software’s creator to fix the problem or find a workaround in as little as seven days."

http://www.wired.com/2014/07/google-project-zero/

amckenna··on Soundcloud Releases New App, Allows Universal to Flag Your Account
The part that really gets me is that Universal isn't even trying to help people "do the right thing". In the email from Greg Morris he states:

"The problem I'm having is the ambiguity of the feedback. For example, on the first strike you just said "Universal Music" said I used one of their tunes. The set started with an Ellie Golding song which I thought was the problem. So I removed that and re-uploaded. It was then taken down again. You're not even telling me which songs are infringing."

That is infuriating. He is trying to oblige to the request to remove a copyrighted song, but Universal isn't even telling him how he is in violation.

amckenna··on A Cover Letter in Brainfuck
For those wondering what the program does:

TL;DR - The program writes a Brainfuck program that writes the text you inputted. Pretty neat

First copy the text of the letter (excluding the x86 interpreter in hex on the right, or in the case of the gist, at the bottom) and run it through an online Brainfuck interpreter. Supply ASCII text input such as "A" and run the program. It will output another Brainfuck program. If you then run the outputted program through the Brainfuck interpreter you will get the same ASCII text.

So if you run the code extracted from the letter:

    +++++++++[<+++++>-],[[-<--.++<+>>(]<+.-<[->.<]>>,]
If input an 'A' the output is:

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.-----------------------------------------------------------------
which if run returns an 'A'

Online interpreter - http://nayuki.eigenstate.org/page/brainfuck-interpreter-java...

amckenna··on A Cover Letter in Brainfuck
The extra byte he needed to shave off was in the 8086 assembly language brainfuck interpreter (in hex on the right of the letter) so it would fit nicely in a rectangle.
amckenna··on Recovering deleted files using only grep
Not sure why you are getting down-voted. I assume you are referencing the SSD forensics article that was on here a while back that brought up the fact that TRIM on an SSD can cause forensic recovery issues. Basically blocks can be cleared even if the drive is unmounted but powered on.

SSD designers developed an interface allowing the operating system (e.g. Windows, Linux, Mac OS X etc.) to inform the controller that certain blocks are no longer in use via the TRIM command. This allows the internal garbage collector to electronically erase the content of these blocks, preparing them for future write operations.

http://forensic.belkasoft.com/en/why-ssd-destroy-court-evide...

amckenna··on Recovering deleted files using only grep
What did you do in that case?
amckenna··on Was it ‘crazy’ to re-create a virus that killed 50 million people?
I think the comparison was to draw attention to just how deadly the Spanish Flu was. In history class we were taught about the Black Death as this huge and earth shattering pandemic, yet we hear nothing about the Spanish Flu. A lot of people don't realize just how deadly it was.
amckenna··on Parrot Bebop
I'm surprised no one has mentioned the IRIS by 3DRobotics. It uses a brushless gimbal to provide the image stabilization and is made largely of plastic components that can be replaced easily. I have their hexa-copter (built from a kit) and have been very happy with it.

Two things worth pointing out that I think are very important:

* The IRIS uses RC plane blades so they are cheap to replaces

* The piloting software is open source

amckenna··on Parrot Bebop
Are the blades proprietary? If so how much will they be?

I have quite a bit of quad/hexa-copter flying and the #1 problem I have had is replacing blades. Luckily my more expensive copter I have uses the same blades as RC planes so they can be ordered cheaply, but thats not the case with my other drone. I can foresee a huge headache for your users if the pocket drone uses proprietary blades.

amckenna··on Torpedo – Share files, passwords, and more with self-destructing private links
Thanks! Unfortunately I don't have a checklist of sorts. Most of what check for is just from habit and memory. I have a project I'm working on that will involve putting one together but that's still a few months out. If I remember I will shoot it over to you!
amckenna··on Torpedo – Share files, passwords, and more with self-destructing private links
A couple security issues after a quick look:

> No secure flag set on your session cookie

> No HttpOnly flag or secure flag set on auth-token cookie

> Password reset doesn't require the old password

> Password policy requires only 6 characters

> No x-frame-options header (especially problematic with 3rd item)

> You're running sslstrip on port 10250

> You're MongoDB port is open to the internet

> No support for TLS 1.1 or 1.2

> Info is "encrypted" but keys are kept server side. You may not keep the URL after generation but it's still sitting in your server logs. Look at mega's use of strings after # for how to do client side only keys.

amckenna··on Volvo’s first self-driving cars now being tested live on public roads in Sweden
Watching the video it struck me that the lights embedded in the barriers between lanes are a really good idea. It provides illumination of the road and the barrier without large poles lining the road which block the view and are expensive.
amckenna··on What you’d need to make in every county in the US to afford a decent one-bedroom
From the article: "A dark swathe of North Dakota that appears to cover the geography of the oil and gas boom stands out as well."
amckenna··on MorpHex, a hexapod robot
The original post debuting the hexapod design: http://zentasrobots.com/2014/03/17/morphex-mkii/
amckenna··on MorpHex, a hexapod robot
What an awesome design. I would love to build one of those if they had a kit you could buy.
amckenna··on Qualcomm's Snapdragon 810 and 808 Processors
These chips look pretty cool. That's quite a bit of power in one package.

On a side note - for a press release it seemed kind of casual: "And because the only thing sadder than a selfie is a selfie that cannot be shared, remember you can upload these high-res images and HDR videos faster with the Snapdragon processor’s 4th generation 4G LTE solution."

amckenna··on Detecting duplicate images with Python
An idea: This would require more information storage, but would it be possible to hash an image and take snapshots of the hashing algorithm as it processes the image, say after each block of hashing (hashing digests a block - such as 64 bytes - at a time). Then simply compare the list of snapshots between two images and come up with a statistical threshold for a "similar image"? In the case of the two cats the images only differ in the nose, so the first half of the image up to the nose would produce the same list of snapshots.

You could also hash forwards, backwards and starting at several random midpoints to prevent someone from simply changing the first block to throw off the hashing algorithm.

amckenna··on Depackaging the Nintendo 3DS CPU
There was also a great talk at Defcon 21 (last year) walking through a similar process all the way to using a picture of the ROM and image recognition to pull binary data. The first half is about building the lab to do this kind of work so you can skip the first 1/3 - 1/2 if you don't care about that part.

https://www.youtube.com/watch?v=0Z4aF-qiziM

amckenna··on Nvidia Unveils First Mobile Supercomputer for Embedded Systems
You may be able to use it for a home server but unless you have a particular need for the NVIDIA parallel processor you're better off with other cheaper systems. If you're looking for a tiny home server check out a Raspberry Pi or ODroid: http://hardkernel.com/main/products/prdt_info.php
amckenna··on Inside Vulfpeck’s Spotify Stunt
While it's an interesting idea it will come at the detriment to other musicians using the platform. Spotify's payouts are largely based on subscriber's monthly fees divided over the total number of plays for a month (to get price per play), then multiplied by the number of plays an artist gets. This means that as people flood to play the silent songs, other artists who actually use the platform to share audible music are making less money. If they want to crowdsource a free concert tour they should make a Kickstarter/Indiegogo and sell shirts or autographed paraphernalia.

Refer to the "Royalties: in detail" section: http://www.spotifyartists.com/spotify-explained/#spotifys-pr...

amckenna··on Soylent Update 3/13
I drink protein shakes in the morning about once or twice a week (usually the morning after a workout). Soylent appeals to me because it seem like a more "complete" protein shake.

I haven't purchased other meal replacement drinks because I frankly wasn't aware that they existed until I started following all of this.

← PreviousPage 4 of 6Next →