News for hackers. Stuff that matters.
Re:The TSA Randomizer App Cost $336k by noja on Sunday April 03, 2016 @02:37PM (#11417080)
"..that a beginner could build in a day.."

Yeah... the clue is that an entire bureaucracy is required before even the first line of code was written. This thing probably took months and months of meetings with tons of people before the prototype was written.

Re:The TSA Randomizer App Cost $336k by AndyNemmity on Sunday April 03, 2016 @06:32PM (#11418097)
Yep. You have the AE, and then the AE on a large project has another AE with him. Then you have a solution captain. Then you have the COE that comes in that actually knows something. Then an architect to design the thing. Then you have others who actually do the thing. Then you have a PM to schedule meetings, and bitch at the doers to do the thing.

Then you have all the daily meetings to communicate to all of those people the messaging. Then you have the meetings to clarify all the wrong messaging that went in some of those meetings.

Then you have the meetings for the customer facing communication. Then you have the customer communication.

I'm not even close to done...

Re:The TSA Randomizer App Cost $336k by drdeadringer on Sunday April 03, 2016 @04:51PM (#11417627)
What would happen if, some fraction of the way through the long stretch of bureaucratic meetings, someone just coded a prototype?

If they sit on it and whip it out the moment the green light is given, then what?

If they whip it out at the next red-tape meeting, then what?

Re:The TSA Randomizer App Cost $336k by grecy on Sunday April 03, 2016 @05:34PM (#11417866)
I can tell you what happens. I worked at a very large telco.

We went through months of daily meeting with 10+ very expensive execs, PMs and Business Primes from all over the business.

One day the only other coder in the room leaned over to me and said "Are we still talking about <x,y,z> that you or I could code in 10 minutes?"

Yes, we were.

I coded it and showed my managers and so forth. I was completely ignored, and the meetings rolled on. In a place like that, there are so many people that have job titles that have nothing to do with "getting it done", which in a funny way makes them less interested in getting it done. Their job is to analyze, plan, document, process map, etc. etc. so that's what they're going to do, no matter how trivial the thing is.

Re:The TSA Randomizer App Cost $336k by Gratsby on Monday April 04, 2016 @03:51AM (#11420103)
Ha! My favorite Telco story was when I was hired to come in and do performance improvements on an enterprise application. Day 1 I figured out what the problem was, and I could have the solution in place by the end of the day.

The manager who was in charge of the application thought that a quick solution would make him look bad. I was explicitly ordered to sit on my thumbs for six weeks.

The thing is, once you know the solution every other action is senseless. There are people who are perfectly happy being a billable body for a living. I'm not one of them.

Re:The TSA Randomizer App Cost $336k by AndyNemmity on Sunday April 03, 2016 @06:42PM (#11418150)
Exactly! I would argue it creates MORE red tape and work to do that, than less. I've done it, I've seen it, it actually makes your life worse, not better.
Re:The TSA Randomizer App Cost $336k by grecy on Sunday April 03, 2016 @07:26PM (#11418349)
When I stopped trying to make that place better (I'm banging my head against the wall) and started just going with the flow, I knew it was time to leave.
Re:The TSA Randomizer App Cost $336k by AndyNemmity on Sunday April 03, 2016 @06:38PM (#11418125)
This happens all the time. People aren't stupid, and often do this. I will seriously answer your question of what happens.

They will be told to shut up, because they haven't listened to the requirements. No one will want to hear it on that call. They will be told it's the wrong audience.

If they push forward, they'll have a conversation with a lot of people after the meeting about how they aren't being helpful.

They'll be told to have a separate meeting with others to validate it. Then in that meeting, those people will rip it to shreds, and indicate that it needs to conform to X Y Z... The PM will then work with you to go through when what actions will be done...

Then they'll schedule new meetings. On and on.. Nothing will change.

I've tried it, and seen it tried. It doesn't work.

You go through the process, or you create even more bullshit red-tape for yourself, and you're seen as a loose cannon no one trusts.

Re:The TSA Randomizer App Cost $336k by tdicola on Sunday April 03, 2016 @05:33PM (#11417864)
Their manager will have a stern talking to them about how 'this isn't how we operate' and 'you broke protocol' and 'made everyone look bad'. They'd be reassigned to the most boring and menial tasks until they quit.
Re:The TSA Randomizer App Cost $336k by Godel_unicode on Sunday April 03, 2016 @05:45PM (#11417918)
They would probably get in trouble for performing work which the government representative (Contracting Officer) had not authorized.

The larger issue is that the government is not setup to move quickly, and for the majority of things the government does oversight is a good thing. That level of process does make it hard to do things like this efficiently, but it's all about trade-offs.

Re:The TSA Randomizer App Cost $336k by dzhiurgis on Sunday April 03, 2016 @05:08PM (#11417746)
Actual developers do bot go to these meetings.

But if you actually did that, you'd be told off by your manager for wasting resources.

Re:The TSA Randomizer App Cost $336k by AndyNemmity on Sunday April 03, 2016 @07:03PM (#11418246)
Sometimes they do.... and they will stop going immediately if they don't follow the script.

You either understand and enable the other people to accomplish what they want to accomplish, or you're not being invited ever again.

Re:The TSA Randomizer App Cost $336k by blantonl on Sunday April 03, 2016 @05:25PM (#11417828)
Project managers don't spend 1290 hours to plan a 1 hour implementation.

If you did that, your contract would be terminated and the PMs would find someone who knows how to turn that 1 hour prototype implementation into 3000 hours of work.

Re:The TSA Randomizer App Cost $336k by zappo2938 on Sunday April 03, 2016 @05:32PM (#11417858)
Do you know how many bike sheds they could have painted with the man hours?
Re:The TSA Randomizer App Cost $336k by pink_dinner on Sunday April 03, 2016 @02:47PM (#11417110)
Exactly. I used to work with a government contracting company. The simplest piece of software took many thousands of dollars in lawyer fees and compliancy.

A beginner dev could build many simple web applications in a day. However, it will probably have security holes and spaghetti code.

Re:The TSA Randomizer App Cost $336k by hiimnate on Sunday April 03, 2016 @04:58PM (#11417675)
>security holes

It's an arrow that points in one of two directions. I can not think of a single way this could be made insecure. Even if someone was able to influence the direction the arrow was pointing, everyone is still going through the same ineffective screening process.

Re:The TSA Randomizer App Cost $336k by Johnny555 on Sunday April 03, 2016 @06:08PM (#11418012)
One way it could be made insecure would be if it didn't use a good source of randomness, so the arrow direction could be predicted. A worst case example would be if the app just cycled through a fixed table of "random" choices like "L R L L R L R R", then the attacker could just watch the pattern and position himself in the line appropriately to make sure that his buddy Joe is the one to screen him. repositioning is easy, just dig through your bag and say to the guy behind you "I can't find my passport, you can go in front of me".
Re:The TSA Randomizer App Cost $336k by Scoundreller on Sunday April 03, 2016 @06:40PM (#11418138)
That problem would be solved by making the app very unstable and require constant restarts ;)
Re:The TSA Randomizer App Cost $336k by Karunamon on Sunday April 03, 2016 @08:24PM (#11418606)
A worst case example would be if the app just cycled through a fixed table of "random" choices

Not even a newbie programmer is going to do this. Every language out there has a Random() function.

Seriously, all these worst case scenarios and we're still well within the land of what even a middling iOS developer could crank out in under an hour.

Re:The TSA Randomizer App Cost $336k by xordon on Sunday April 03, 2016 @09:06PM (#11418761)
> Not even a newbie programmer is going to do this.

I wouldn't bet on that. I've seen all sort of horrendous monstrosities that students and new grads have come up with.

Re:The TSA Randomizer App Cost $336k by Johnny555 on Sunday April 03, 2016 @09:17PM (#11418806)
You'd be surprised what programmers will do. Sometimes due to incompetence, sometimes it's an "optimization", sometimes it's a simple mistake, yet there is some very bad code out there and it's not discovered until it causes a problem.

For example, even a newbie wouldn't trust a remote client to tell you the size of a string they are sending you so you can echo it back to them, yet we still had Heartbleed and it sat there for a long time, undiscovered.

Re:The TSA Randomizer App Cost $336k by cheese1756 on Sunday April 03, 2016 @11:29PM (#11419242)
Which usually isn't cryptographically secure. So now you need to audit the random number generator and make sure that it has no known holes, including obscure edge cases. And then you need to confirm that any implementation is correct and audited.

That quickly takes you down a rabbit hole, which may be why the contract was so expensive.

Re:The TSA Randomizer App Cost $336k by Karunamon on Sunday April 03, 2016 @11:44PM (#11419275)
This is iOS we're talking about. The CSPRNG provided as part of Swift or Obj-C's standard library has likely already been audited for use on other govt. projects.

http://stackoverflow.com/questions/9234686/generating-random...

Re:The TSA Randomizer App Cost $336k by cheese1756 on Thursday April 07, 2016 @01:45AM (#11444992)
Great point. Thanks for the link!
Re:The TSA Randomizer App Cost $336k by imtringued on Tuesday April 05, 2016 @01:40AM (#11428109)
Oh you need a cryptographically secure RNG? Assuming the app is written for android just replace Random with SecureRandom. Here's your $100,000 invoice.
Re:The TSA Randomizer App Cost $336k by gambiting on Sunday April 03, 2016 @06:41PM (#11418143)
And all of this trouble to achieve.....what exactly?
Re:The TSA Randomizer App Cost $336k by smacktoward on Sunday April 03, 2016 @07:25PM (#11418341)
To achieve a "screening" carried out by a co-conspirator, through which weapons, etc. could be passed.
Re:The TSA Randomizer App Cost $336k by hiimnate on Sunday April 03, 2016 @08:33PM (#11418641)
1. The TSA is ineffective at preventing weapons from getting past their security checkpoints.

2. Everything required to make a bomb can be bought past the TSA checkpoint.

3. It would stand to reason that if a terrorist organization can get a conspirator to infiltrate the TSA, they could get, I don't know, two?

4. There's more than one person involved in the screening process.

Re:The TSA Randomizer App Cost $336k by Johnny555 on Sunday April 03, 2016 @09:08PM (#11418766)
The fewer people you need to get into the right places at the right time, the more likely your plot is to succeed.

It's not like TSA agents haven't already been caught letting people smuggle contraband past them:

http://www.foxnews.com/us/2015/12/19/tsa-agent-accused-smugg...

Re:The TSA Randomizer App Cost $336k by lazaroclapp on Sunday April 03, 2016 @06:13PM (#11418038)
What if the device with the arrow leaks EM radiation which can be used to reconstruct the random seed, thereby allowing an attacker to predict which way the arrow will point after n presses? Then, you can just time your place in the queue to get the result you want, as long as you can discreetely measure the device from a distance.
Re:The TSA Randomizer App Cost $336k by CyberDildonics on Sunday April 03, 2016 @06:33PM (#11418104)
I can't tell if you are joking or being serious. I hope this is a joke.
Re:The TSA Randomizer App Cost $336k by lazaroclapp on Sunday April 03, 2016 @08:23PM (#11418603)
I am "joking" in the sense that I don't expect even this 300K design to have taken that sort of vulnerability into account. I actually agree that most of it probably went into meaningless overhead. I am not joking in that I think that if you are designing a formally specified security-sensitive cyber-physical system, there are reasons why even very simple things are hard to get right.

I don't actually much care about the security of TSA hardware (my view is that it is all expensive security theater in any case). However, if you told me you spent 300K designing a very simple control interface for say, a critical component of the electrical grid, and the argument you gave me for the cost is proper security engineering, I would buy that. I certainly would prefer it to a $30 USD solution developed as a HackerRank project, even if the nominal functionality is the same.

Re:The TSA Randomizer App Cost $336k by odinduty on Sunday April 03, 2016 @05:34PM (#11417872)
They could hack into the iPad to make it display this: http://www.thecleverest.com/countdown.swf

High chance somebody gets shot.

Re:The TSA Randomizer App Cost $336k by rimantas on Monday April 04, 2016 @03:44AM (#11420083)
That's a lot of hacking to display Flash on iPad :)
Re:The TSA Randomizer App Cost $336k by gglover on Sunday April 03, 2016 @02:57PM (#11417152)
I don't think lawyer fees imply anything about the code quality. See: HealthCare.gov fiasco.
Re:The TSA Randomizer App Cost $336k by jonesb6 on Sunday April 03, 2016 @04:41PM (#11417565)
I think OP meant that bootstrapped code, written as quickly as the developer feels like writing it on a weekend, has its own flaws as well.
Re:The TSA Randomizer App Cost $336k by ZanyProgrammer on Sunday April 03, 2016 @05:12PM (#11417766)
Though an app showing a randomized arrow veers closely into, well, not Hello World, but an intro example for developing a mobile app. There's not going to be a lot of code to spaghetti-ize.
Re:The TSA Randomizer App Cost $336k by AndyNemmity on Sunday April 03, 2016 @06:55PM (#11418210)
In Enterprise software? You'd be surprised...
Re:The TSA Randomizer App Cost $336k by ori_b on Sunday April 03, 2016 @06:40PM (#11418141)
It implies that you know who to sue if code quality isn't up to scratch. This is important to large organizations for some reason.

Even though it may be cheaper to just do it 10 times over with cheap one person shops and throw out the worst 9.

Re:The TSA Randomizer App Cost $336k by scrollaway on Sunday April 03, 2016 @09:52PM (#11418905)
And who was sued in the case of the Healthcare.gov debacle?

I get the feeling this "knowing who to sue" saying is a bit of a myth.

Re:The TSA Randomizer App Cost $336k by ori_b on Monday April 04, 2016 @02:19AM (#11419742)
I suspect that the myth is that anyone will follow through on it. The ass covering is probably real.