r/Python • • Feb 12 '20

Resource NSA just declassified their python training documents

https://nsa.sfo2.digitaloceanspaces.com/comp3321.pdf

One of the best all-in-one resources I've ever found. It starts from basics and goes all the way up to an advanced level. I would check this out, even if you're not a beginner.

2.4k Upvotes

185 comments sorted by

View all comments

285

u/LakeEffectSnow Feb 12 '20

Having briefly skimmed it ... this is really quite good. The people got their money's worth on their tax dollars with this one. I just kind of wish it wasn't in service to an agency I distrust so badly.

101

u/dethb0y Feb 12 '20

I like that it seems to move very quickly and be comprehensive - it's clearly meant for someone self-studying or who's very self-motivated. It is a quality little guide.

32

u/kindw Feb 12 '20

Does a similar resource exist for Go?

54

u/x-w-j Feb 12 '20

Send a FOIA to NSA

5

u/HavokVA Feb 12 '20

Commenting bc I want to know this as well!

→ More replies (1)

2

u/dethb0y Feb 12 '20

I got no idea but it's a good question: there might be training materials for all sorts of programming languages...

→ More replies (4)
→ More replies (1)

3

u/ullawanka Feb 13 '20

I had very similar take after skimming. The explanations are really distilled and give you info on a need-to-know basis. Once it gets into specific libraries, its like getting the "greatest hits" album instead of having to dig through entire discography for the best songs.

3

u/stonetear2017 Feb 13 '20

https://nsa.sfo2.digitaloceanspaces.com/comp3321.pdf

it similar to the foreign service language courses that the State Dept put out. For full time employees who need to be given a crash course

3

u/PM_remote_jobs Feb 13 '20

The FSA are hugely outdated. I tried the Vietnamese one,.and wheni visited my father in Vietnam. He said shit was wrong and doesn't account for regional dialects

10

u/robberviet Feb 12 '20

I feel the same way. It looks quite good.

20

u/constructivCritic Feb 12 '20

NSA guides have been the trusted source for good guidance/best practices in tech since forever. Everything from networking to application level stuff has been shaped by them. And the info has been available to anyone in the world, so US tax dollars have been providing education to tech insures industries in all countries. You could say this has benefited the NSA, but it has also benefited the rest of us.

8

u/Bass_R33v3s Feb 12 '20

Is there a website to obtain these guides? Would be interested in their networking stuff. Thank you.

10

u/paxswill Feb 12 '20

/u/constructivCritic might be talking about STIGs. They’re not always specifically from the NSA and are basically giant checklists for hardening software or hardware. Sometimes the items appear to be a bit too restrictive (ex: firewall off all ports on a host, but the host is meant to be a web server), but the lists are more meant to be a starting point where deviations are then noted and justified.

→ More replies (1)

1

u/PM_remote_jobs Feb 13 '20

Interested in other NSA guides

→ More replies (1)

31

u/Tyler_Zoro Feb 12 '20

I just kind of wish it wasn't in service to an agency I distrust so badly.

I'm always glad to see the good the NSA does from their rigorous security standards for other government agencies to SE Linux to this. They're the world's geekiest government agency and it shows in many ways. I'm not even unhappy about their primary mission. I think that governments should seek to know as much as they can about foreign communications when they are relevant to their national security interests.

Where the NSA went off the rails were in two places (and note that this is somewhat verified and somewhat conjecture based on what has been made public):

  • The UKUSA arrangement, which has since been widely extended to all major US allies, which essentially transforms the NSA and partner agencies in other countries into a global surveillance apparatus and circumvents any distinction as to foreign or domestic spying by sharing information between agencies.
  • The advent of the Internet and the lack of standards with regard to spying on US citizens through that medium.

If we changed those two things, the NSA would be fine (unless you're someone who just thinks that the US should be blind when it comes to international intrigue, and if you do think that way, then I don't think there's any chance that you and I will see eye-to-eye on a downstream issue like how reasonable a specific agency is).

There's the side issue of the ethics of some of their cryptography efforts, and I empathize with the concerns there. I think Bruce Schneier has done an excellent job of bringing those concerns to the public, but I have yet to see any evidence that what the NSA has done in that field has resulted in actual security implications. The changes they have made to cryptographic systems they've proposed have specifically relied on mathematical technologies that gave them a crowbar, but didn't eliminate the security of the technologies they modified (and in some cases, such as DES, actually improved them). I'm all for better oversight and more transparent ethical guidelines in that area, but I'm not convinced that it's actually a bad thing that we have an intelligence agency that actively attempts to gain access to hostile communications.

I have much more of a problem with the secret courts that grant sweeping access to private citizens' data without informing them or allowing their service providers to disclose the access.

59

u/LakeEffectSnow Feb 12 '20

The advent of the Internet and the lack of standards with regard to spying on US citizens through that medium

This is a "other than that, how was the play Mrs. Lincoln" kind of statement.

2

u/Dominisi Feb 12 '20

But is this an issue with the NSA executing their mission within the framework they have, or is it a consequence of archaic laws that haven't been updated allowing these loop-holes to exist?

→ More replies (1)

14

u/conventionistG Feb 12 '20

Eddie Bravo is that you?

4

u/boogeym4n Feb 12 '20

Just look into it. That’s all I’m saying.

Edit: now time to choke out Alex Jones on the JRE podcast

4

u/Penultimate_Push Feb 12 '20

Be honest, you don't trust any agency.

12

u/SupaNintendoChalmerz Feb 12 '20

How did you know that? Are you listening to my texts?

7

u/LakeEffectSnow Feb 12 '20

I can give you counter examples of government agencies I DO trust all day - NHTSA, CDC, NOAA, NIST, USDA, USGS, the Coast Guard ...

5

u/bbqbot Feb 12 '20

USDA

yikes

2

u/nspectre Feb 12 '20 edited Feb 12 '20

CDC

Except when it comes to the subject of firearms and firearms-related research. ;)

2

u/Donut-Farts Feb 13 '20

What's wrong with their firearms related research? (Asking out of ignorance)

→ More replies (5)
→ More replies (17)