Better HN
topnewbestaskshowjobs
Log inSign up

16s

3,211 karma · joined Jun 25, 2010 (16y ago) · 974 submissions

Submissions

1.

Decrypt to Anything(16s.us ↗)

2 points · by 16s · 13y ago · discuss

comment 13y ago · link · parent

Amen. All these people who parrot, "Don't roll you own crypto" need to get out of the math/programming kitchen and go get a crypto burger from some national fast food joint.

My advice would be don't roll your own primitives, but other than that, have at it.

comment 13y ago · link · parent

Often times, the hack is through a web front-end. Back-end systems (such as DBs) are heavily firewalled, logged, monitored, etc. and are generally very well protected. Systems guys (OS and DB) know security pretty well and have been doing it for a long time now.

Much of the web software that powers the front-end is complex (PHP, Java, .Net, JS, CSS, SQL, includes, 3rd-party libraries from everywhere, etc). That complexity has a broad attack surface that is difficult and time consuming to test. And many devs are late to the security party (unless we're talking OpenBSD developers).

Management wants to push out new features by X date. Devs have very little time to test and are behind on security anyway. Hackers have all the time in the world to poke at the web front-end and test every possible combination of things until they finally get in.

In a nut-shell, that's the problem as I've seen it.

comment 13y ago · link · parent

The Cone of Silence lives.

comment 13y ago · link · parent

"Inelegant" is really a matter of opinion.

comment 13y ago · link · parent

We use SHA1_Pass. It does not store password data. It generates passwords as needed. The info required to generate the passwords is stored on our internal wiki. The secret sentence is only in our heads and never stored or written down anywhere and when an employee leaves, we change the secret sentence. Here is an example map.

http://16s.us/sha1_pass/map/

comment 13y ago · link · parent

Very inspiring. I have no interest in start-ups and that sort of thing, but I do admire your intestinal fortitude. You hung in there and did it. And really that's all life is about.

8.

Misuse of Encryption in KusabaX(crashcoherency.net ↗)

2 points · by 16s · 13y ago · discuss

comment 13y ago · link · parent

This is the same reason I re-wrote a lot of my Python code in C++ many years ago. Distributing one self-contained, statically linked executable just works and even the most clueless user can download and run it.

But I still use a lot of Python and I'm sure this guy still uses a lot of Ruby. Everything has its place.

comment 13y ago · link · parent

Very well said. There is no one perfect programming language, no one perfect algorithm and no one perfect data structure for all problems and constraints you will face as a CS practitioner.

Really, a CS education is just preparing you to pick the right solution for the problem/constraints at hand. For example, you can loop through a list. That approach works fine. However, when you begin to scale, you may find that look-ups against a tree-based data structure or perhaps a hash table are much more time efficient at the cost of more complexity, more space and more educated programmers.

11.

Tor in a Box(adafruit.com ↗)

2 points · by 16s · 13y ago · discuss

12.

New IE Zero-Day Exploit in Memory Only(fireeye.com ↗)

3 points · by 16s · 13y ago · discuss

13.

Crack Passwords Without Hashes(16s.us ↗)

1 points · by 16s · 13y ago · discuss

comment 13y ago · link · parent

Great read. This sentence sums it up best I think, "Why, why, why would people expect to get great results if they flaunt all the best-practices that have developed over the past 20 years?"

comment 13y ago · link · parent

The world is all about trivialities today and escapism (let's not face reality). Especially in the West. Young men and women (in general) don't really mature until their mid 30s and some never do.

We have an entire generation of people distracted every 30 seconds by fart apps, juvenile videos and self-photos in the bathroom. We need more engineers, doctors and lawyers and serious thinkers.

Maybe I'm just getting older, but that's my honest opinion.

comment 13y ago · link · parent

Most people don't understand it. Never have. Never will.

comment 13y ago · link · parent

Triple rot13 (like Triple DES) is government approved.

    echo -n word | \
    > wm --rot13 --words stdin | \
    > wm --rot13 --words stdin | \
    > wm --rot13 --words stdin    

    result: jbeq
However, the result is the same as a single round.

    echo -n word | wm --rot13 --words stdin

    result: jbeq

comment 13y ago · link · parent

Law Enforcement is a very tight knit community. They trust each other and that trust builds over the years. They are almost like a family. And apparently, this is their go to guy for gang codes.

comment 13y ago · link · parent

Not only are more people depressed, but more actually die during the winter too:

http://wattsupwiththat.com/2010/01/06/winter-kills-excess-de...

comment 13y ago · link · parent

It's been my experience that many cultures have this problem, not just China.

comment 13y ago · link · parent

Security through obscurity is useless. I have heard people repeat this for the last 20 years. They are wrong and they have no idea what they are talking about. They just parrot what others say. Like chaos it perpetuates itself.

We camouflage tanks. We build stealth fighters. If obscurity had zero value, we'd just paint the tanks bright pink with hot orange flames and drop all the stealth research too. No need to sneak around. Obscurity is useless right?

Hide from the bear and it might not find and eat you. Move your ssh port and your logs will have less idiots out there filling them up. That fact alone is worth changing ports.

Obscurity has its place along side other tactics. And when you put it all together, you'll have a more secure system.

So please cut the "Security through obscurity" crap.

comment 13y ago · link · parent

The way I read the standard, the string 'soccer1' is a valid/compliant PCI password. At least it for PCI-DSS v2.

8.5.10 Require a minimum password length of at least seven characters.

8.5.11 Use passwords containing both numeric and alphabetic characters.

In fact, the string 'password1' exceeds the requirements.

comment 13y ago · link · parent

There are large working Python 2 code bases in a lot of organizations. It works great. Fabulously reliable. Extremely well-tested. Been running great for years. They have no desire or need to upgrade and will run Python 2 and pay devs to maintain it forever.

Welcome to the real world.

comment 13y ago · link · parent

False positives are the life of security. Microsoft Updates (update.microsoft.com) was just blacklisted by malwaredomains this week. It happens. Algorithms are not humans.

comment 13y ago · link · parent

Speed of light, not sound.

26.

Source Code to a Passive Keystroke Logger(16s.us ↗)

1 points · by 16s · 13y ago · discuss

12345
33