Better HN
topnewbestaskshowjobs
Log inSign up

bitexploder

7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions

I did not keep blogging.
Submissions

comment 9y ago · link · parent

What, everyone doesn't aspire to become an elite hacker speaking at BlackHat?

Seriously, you are spot on. It takes years and dedication and no small amount of coincidence of interests and skills to reach the elite levels. It also takes a kind of persistence and thick skin to do the research and get the skills to get your first real high end job for most people. I tried replying to the OP about how to get to where our senior and principal consultants are and.. it turned into a somewhat muddy word bomb. At some level the advice was basically, "Yeah, just get really good at... everything, then infosec is easy"

There are so many paths and skillsets required and you can specialize in so many areas (operating systems, tools, crypto, memory corruption, etc...). How do you even begin to convey the depth and variety to someone at the start of their journey? Ultimately there are just a lot of common patterns of elite hackers, base skills you use all the time. Get those skills, and keep trying to hack stuff :)

comment 9y ago · link · parent

Yeah, but let's be realistic. There are very few technologists who are passionate about computing that would really enjoy compliance roles. Infosec is a huge banner and I am going to assume most hackers here are on the technical side. Also no cert can possibly prepare you for negotiating corporate IT security policy.

But even for us (a high end infosec consulting firm) knowing how to relay findings and risk concepts to executives can mean the difference in our work getting implemented, transforming an organization from average to above average in terms of how they approach information security.

Anyway, don't be such a cynic, we just run out of air when we get to the upper reaches of technology expertise so it makes is dumb :P

comment 9y ago · link · parent

Keep your head up. I am a partner at a so called "boutique" firm. If you want to be elite and do the hard things in information security the certifications themselves will not do /much/ for you by themselves. You have to never stop learning and growing. A lot of people in corporate IT that maybe bump into the edges of real assessment work think the certs qualify them and they stop learning and growing and learning how to break software.

It comes down to a very simple concept. Can you make the computer do what you want? Can you find the flaws in its state machine and hack the shit out of it? Yes? Come join an elite firm. No? Go into corporate IT security or keep learning until you can take the raw machine code and make it do what you want.

What does running a bunch of tools have to do with that? Most certs are very tool focused. Some /might/ have you do some stuff that is more interesting and CTF like, but so what. It is still meant for mass certification. If you only study to exploit a buffer overflow or inject SQL you are missing the point (though those are valuable skills).

You need to fundamentally understand. You need to be able to model complex software architectures and understand all the complexity of a modern software architecture and ecosystem quickly. Why quickly? Because it changes quickly. Because there is often so much diversity and complexity for a security practitioner at our level that you have to change architectures seamlessly and at a high (not expert), but very high, level of proficiency. That means you have to write code, play with a diverse amount of modern software and programming languages and constantly be thinking about everything from the security perspective. Learn threat modeling. Learn software. Learn the low level bits of computers and the high level bits.

What does this mean? It means if you know all the command line switches for all the tools on Kali you won't ever get anywhere. You need to write code. You need to understand operating systems like a systems engineer. You need to know what is going on with hardware. Will you use it all every assessment? No. But it will inform and guide your choices and you will have the framework required to understand almost all software and hardware you come across.

We have been working hard on our work sample assessment in our hiring process for the last 9+ months. We have seen folks with an elite level of memory corruption (e.g. guys who find and write exploits for the DoD) experience do very poorly on assessment and we have seen 2nd year college kids get right to the heart of the sample and own it. We see a LOT of people who want to transition into infosec or work at a more hardcore level come in and throw every command on Kali at our work sample. (Amusingly you have to think and assess things, you don't need anything fancier than a hex editor and a programming language or two with their standard library). Does that mean someone good at memory corruption is bad at information security? Maybe. It means their skills are too narrow to assess and secure the typical systems our customers hire us for and we work on, and we work on a lot of important stuff.

So let's be more concrete:

* Get really good at Python or Ruby (Python is what we prefer, but Ruby is okay). Write code every day. Golang is fun and good too.

* Work through all of cryptopals until it hurts, read every paper you can along the way

* Take a couersera course on cryptography Dan Boneh's older one is nice -- you really need to understand the crypto primitives in modern use and how to use them safely, you don't need to know how to implement a side channel resistant AES or ChaCha, but you need to know when someone is screwing up with AES in CBC mode (they almost always are if they are using a crypto primitive)

* Build or contribute to some open source security tools

* Get really good with mitmproxy and or Burp so much stuff now is HTTPS and or WebSockets

* Know your web app LHF

* Read and understand OAUTH (do this later)

* Learn every common authorization model in existence and how authentication and authorization are /actually/ implemented

* Work through Micro corruption CTF, you will understand better how a computer works if you get through /every/ challenge

* Learn threat modeling (Shostack has nice writing about it)

* Find software. Break and threat model software. Find more software.

* Follow and, more importantly, endeavor to understand the work of prominent peoples that talk about BlackHat every year or build software people use (Bernstein, matthew green, and the charlie miller's of the world, understand their methodology first, walk through how they do things more than their results, don't be distracted by results, but the skills and effort they employed to get the results).

That is the basics. Get good at this and you can break most modern software. Then you can specialize. Along the way of doing this you will come across tons of interesting stuff and find places you want to investigate. This is just off the top of my head. This is the really hard thing about being really good... it takes time. You can't just wake up and decide to do this at a high level. Programming takes time. Learning crypto takes time. Learning HTTP takes time. Learning software stacks and modern software architecture takes time. At the end of the day this path is daunting and, like a sieve, it filters out all but the best technologists. Now you can imagine why the author may have taken the sort of down his nose view he did of certifications, because this is an immense and challenging thing.

Step back a bit and assume becoming elite at this is a 5-8 year journey, what do you do in the mean time? Write code every day. Work on only a few things at a time to ensure you can go deep enough and understand it. Do your certs, they give you great exposure to the variety of tech, but never stop at the level a cert gets you to if you want to progress. Figure out what you are enjoying right now and focus on that. You can feasibly get more entry level pen testing and assessment roles in corp security on the backbone of a few certs, getting good at programming and automating things, and going deep on a topic area that really interests you... web app testing is a great starter, but never settle for banging out LHF (Low Hanging Fruit) findings all day, learn how to build web apps, too.

You can also go more of a risk management and policy route. This requires you to have a breadth of knowledge, be deeper with at least a few things, and understand corporate security, but I swear, if you love technology and enjoy deep thinking these roles will suck the life out of you. They are where deep thought often goes to die, drowned by corporate policy. Anyhow, it is getting late. Good luck. Find my company and contact us, we will set you up on our work sample and you can see what it is like.

comment 9y ago · link · parent

Communication in tech, and especially infosec is a dramatically underrated skill. Infosec consultant for 10 years. I write. A lot. Being able to jump from explaining how we reversed something to devs to an executive who just wants a certain view of how that impacts a release is hard and has taken me a long time. You essentially have to understand the various consumers of your writing at a pretty deep level for it to get read and have impact.

A well written report that speaks at the right level to its audiences will generate more proactive security activity than a terse, passive voice bomb of dense technical information.

comment 9y ago · link · parent

Agreed. Main thing is, I like being alive and have to eat, at least, plants to stay alive. So it does bring you to an interesting point of, so... if I can't safely say that even plants aren't really thinking food... I should just not try to formulate an argument about which things are "thinking", but not everything is relative. Using the facts we have now I will only go so far on the whole whole relativism angle. Cows are way more like me than a black bean, for example. So it is pretty easy to at least roughly group things. Anyway, we agree here, but ultimately we shaped the world in a certain way (our ancestors) so we just have to accept that we can't change certain things easily or at all (what we eat, that we have to cut grass, etc). So that line of thinking about "should I eat thing X?" just seems trickier because I have so many biases rattling around in my brain and we always construct our internal narrative to fit facts.

What isn't hard is the sustainability argument. That is super simple arithmetic. And that is the one that pretty much seals it for me.

I think a lot of people start from the sustainability angle and then convince themselves of a lot of things that are murky or they themselves didn't really personally decide this, it is just something a lot of other people are doing / have decided and it fits their narrative of "meat is not sustainable". That said I do think there are well reasoned actors out there that have "done the work" to decide eating meat is not for them, but don't dress it up as a philosophical choice until you /have/ done the work and thought it through. It starts and ends with a lot of Why? :)

comment 9y ago · link · parent

Ahh, yeah. I live in the south east United States. We change our clocks by an hour in spring and fall. It is the trickiest when the Sun sets later because they tend to want to be up a little later in the day (800-830) now before the Sun doesn't make the house so bright, but it is still fine. We just used heavier drapes when they were younger to trick their mental clocks a little.

Easy to forget the planet isn't the same for everyone else :)

comment 9y ago · link · parent

Yeah, I hope this advice didn't seem too totalitarian. We did that all the time and still do. I think it is more of a "most of the time be consistent". And bed time is only one component. The routine is also super important, possibly more important than a specific time, but the timing certainly helps. The routine before bed is like programming to their brain that helps them hit their off switch easily. After a few years they can do it with very little help from an adult. So it is also all about the age where they are going to most easily learn these skills. To me it is worth doing it when they are younger because it is just another invisible life skill that really helps them be happy and whole.

comment 9y ago · link · parent

They mostly follow the sun these days. Now that they are both older (5+) we tend to flex the schedule +/- 1 hour or so. Read them a story for a few minutes and they have all the skills to put themselves to sleep easily now.

The specific time does not matter so much as the routine and consistency. The trickiest thing to work around is the Sun. My kids tend to do best when the Sun is mostly set. Some of the time they do pop up earlier. But like all things it changes. At my kids age my role in the morning is quite different from what it used to be :)

comment 9y ago · link · parent

Flirted with stints of vegetarianism. Still eat far less meat than "average" and can go many days without meat.

I am okay eating animals, they are tasty. They think, they die, they go to my tummy. I try to eat grass fed and "humane" local stuff these days precisely to avoid issues that occur at mass produced meat factories (antibiotic needs, etc.). This makes meat cost more, which makes me eat less.

The central reason for me comes down to sustainability. Eggs and milk are still not the most humane things to me, but they are sustainable and quite a bit better than killing the animals they come from. They cost way less to produce and eggs/cheese/dairy make a lot of tasty stuff I am less willing to give up than meat.

We can probably sustain the planet if everyone eats a light to moderate amount of dairy/eggs, but based on what I have read we really can't do that with the amount of meat consumption in America (and other places that are meat heavy in their culture.)

Not only that but Americans are used to cheap meats and are very very slowly becoming used to paying for meat at prices where it can be raised more healthily (legitimate free range, zero antibiotics due to much lower animal density, etc.)

tl;dr save the planet, and maybe because I occasionally feel bad animals die for me to live a more convenient life.

edit: also, regarding the fish only "vegans"...honestly... it is hard enough to safely define one thinking meat from another. I think people do a lot of mental twists and turns and narrative building to convince themselves that something like say, fish, are "lesser" thinking meats. Insects? Fungi? Bacteria? How do you define your thinking meat? The philosophy of this is actually fiendishly difficult if you take it seriously and don't just stop when your brain has convinced you that you have it figured out. I also don't think it is even subjective, even though it is a very passionate subject. At some level if you eat animals you have to accept the consequence and can't just rationalize away you are eating the muscles and fats of an animal that had its own thing going on. I just never felt strongly convinced by the whole strict vegan argument given the amount of energy required to live that way (it is actually hard and difficult to be a really strict Vegan, in my opinion that time can be better spent reducing misery of actual humans in a lot of cases)

comment 9y ago · link · parent

One way to buy Lenovo is to google for Lot of X on ebay.com where X is about 3 years old. The off-lease deals and lots of great machines you can find is amazing.

comment 9y ago · link · parent

This is true. Sorry GP, but if your kids are of the fairly typical variety then parent is right. I remember when our son was younger and we would chat with other parents. Our son was always in bed by 7:15pm and getting up at a reasonable morning hour. Other parents became amazed as bed time was always a fight for them. How do you do it, they would ask, as if we possessed some secret knowledge of child taming. My wife would then explain the routine and consistency required to achieve this magical feat. You could see their faces fall as the process was described. No magic this "consistency and routine" thing could never work for them and their house. Precious Jimmy or Sue are just different....

So many times this. We thought maybe our kids really were abberant. But then we met other parents with this secret knowledge as our son aged and we had a daughter.

I accept my children's disappointment. May they learn it young. I am here to guide them to the most productive life possible. Productive in the fulfillment sense, not the material sense. This will always require weathering the storm of their sometimes outbursting disappointment. Funny thing, though, after a while they learn that no actually means no and they don't lose their cool so much over it these days.

Edit: just want to say it actually is hard. It requires a lot of the parents to be consistent and show up regularly. It is so hard in fact that it is a sort of secret. But within the confines of this sacrifice and constraint there is a sort of calm and freedom that makes day to day life flow better. It isn't for everyone, but modifying a young child's behavior in most cases is anything but mysterious.

comment 9y ago · link · parent

Sanderson doesn't write deep stuff, but he has moments of incredible depth. In between, despite the word count of many of his longer series, he is immensely readable. It is easy to discount his work as pulp fiction from a distance, but underneath he tickles the tropes of fantasy fiction and gets right to the heart of the trope and its philosophy by the end.

I will say to avoid his latest short stories anthology it is best after reading everything else first.

comment 9y ago · link · parent

This may be a little like cheat codes for fantasy fiction, but look up Sanderson's creative writing course lectures. It is meant for aspiring fantasy fiction authors but it has also made me a much more critical sci-fi and fantasy reader.

I pulled it up: 2013 Lecture 1: http://www.youtube.com/playlist?list=PL8YydnShI45jSbRdMeyQ-S... start here. This YouTube account has all of the lectures. As an avid fanfic reader these lectures were immensely enjoyable especially as it is essentially one of the preminent authors of this era sharing his secret sauce freely.

comment 9y ago · link · parent

I have read a lot of sci-fi and fantasy fiction. A lot. Very few stories surprise me regarding the broad strokes or philosophical system / theme as it relates to magic and world building. I always enjoy when an author teases a new perspective on a known theme or system. Sanderson is great at taking a "known" system and bounding it tightly and thus making it a great story telling device.

I always enjoy an author with a deep understanding of a subject like game theory and they weave it into the magic and story giving a view into something new. So "everything is derivative". And nothing is :)

comment 9y ago · link · parent

Sure, but most parents aren't capable of doing that well. And even then it is a bit of a stretch. Kids are programmed to learn and don't really need adult interaction that much. They need independent time. Time to explore and make mistakes without an adult helping them. So you can say that is being nearby and being devoted while giving them a semi structured environment. Anyway, we won't solve parenting philosophy here, but the general sense (I know.. normative words) is that a parent that just spends their whole day with their kid is probably helicoptering.

comment 9y ago · link · parent

What do you want to get good at? 'Memory corruption' is the term of art for these vulns. There are a lot of areas you can learn "enough" of.

Start with the Micro Corruption CTF. See which part you enjoy the most (finding, analyzing, exploiting). Each use similar but different skills.

You need to get good at assembly/machine code. You have to learn the patterns of what compiled code translates back to (structs, exception handlers, logic, etc). Machine code is the one constant. Notice how the author had mapped C structs in his hex editor? That is the sort of thing that gets you back to a conceptual hacking level instead of being down in the weeds. Get good at doing those things.

comment 9y ago · link · parent

The point of this article should be the technical parts of memory corruption. Jailbreaks often exploit multiple bugs that could have the same title. The last wide Jailbreak for 9.3.3 I did entirely in the browser. It was nice of them to ask before exploiting my system :)

Still this is a fine bug.

comment 9y ago · link · parent

That is how you get helicopter parents.

comment 9y ago · link · parent

We always (sort of) go first by sharing our comp ranges to candidates. If either of us are way off why waste each other's time? We do ask for comp history. We try to be very fair and we rarely end up needing to negotiate at all.

comment 9y ago · link · parent

You can't. From the article they would seize entire bank accounts before even talking with you or giving you a legal notice. They often take physical assets with violent force, too. (E.g. they show up with guns)

comment 9y ago · link · parent

I am on one hand impressed watching what an org like Google can do with its vast resources, but on the other hand deeply concerned. Computing is moving to a place where this deep specialization will be a requirement to set foot in the door in many areas.

The technical achievement is of course cool, but nothing unprecedented or unexpected for an org like Google. Almost natural: when ASIC implementation cost < new general purpose resources do the obvious thing.

This also happens for obvious reasons with commodity crypto accelerator chips, phone music codec chips, etc, etc. It just means at Google's scale the dollar savings are huge.

The cool thing is Intel and chip makers can level the playing field but they are so far behind.

comment 9y ago · link · parent

I get the side channel concerns, but most developers make a mess of languages that let you control these things. A few, very few, people I trust to write in a language like C build tools I trust (Dan B, etc). I also think it is very hard to convince folks about side channel concerns.

We have to live in the world we have too (e.g. Signal on an Android is better than not having it, etc.). When I document side channel issues in customer code there is almost some way higher priority issue they have to fix first, etc. But your advice is good for someone endeavoring to do a "correct" approach from the ground up.

Thanks for the detailed thoughts though. This is the sort of thinking anyone who thinks "I will write a secure chat program" has to do ages before they start writing code.

comment 9y ago · link · parent

While we are at it here is another individual line that will "compromise your server".

https://github.com/rack/rack/blob/master/lib/rack/session/co...

https://rdist.root.org/2009/05/28/timing-attack-in-google-ke...

Of course folks are much more likely to misuse their cookie secret than purposefully break a library function. That said you can look at the history of most projects that use HMAC to authenticate data and they did it wrong.

(e.g. https://github.com/rack/rack/commit/0cd7e9aa397f8ebb3b8481d6...)

comment 9y ago · link · parent

I am curious why they were advised not to use Go. Probably not a safety concern.

Edit: cgo != Go. Thanks for the responses. I have done a bit of Go, but just pure Go.

comment 9y ago · link · parent

https://recon.cx/2015/slides/recon2015-14-christopher-domas-...

Movfuscator

comment 9y ago · link · parent

Battling xrandr is not for the feint of heart. It is tedious to get the right behavior and differs from one display to the next (the precise dimrnsions, etc..)

comment 9y ago · link · parent

I liken this to weaponizing dynamite. It is a step beyond a simple tool. But still just a tool. The criminal activity matters. Also, this software was marketed toward the black hat community based on other threads here and my own understanding of how this software got its popularity.

comment 9y ago · link · parent

Usually educational use tools leave a lot as "exercise" to the reader. They don't come with features that make malicious use easy. And you usually frame the intent of the software around that. Not as a for pay tool. So that argument does have validity... in an open source project or white paper describing some technique.

There is a reason researchers often leave some details of an exploitable vulnerability write up left as an "exercise" for the reader.

1
747576
81