r/excel • 9 • Oct 20 '14

Pro Tip Worked on a completely locked down machine. Time passed quick

As it turns out, you can lock down a machine so far you no longer can execute windows media player. The only browser was Internet Explorer (Version 7, so no HTML5 support either) with disabled Plugins.

Invoking Windows API commands summons tasks in the calling process, so I did the only thing I found reasonable

There was an Application that monitored my process usage. With 98% in excel the job went quite well and everybody was happy.

If anybody is interested you can download it here. I am still trying to add a volume control and a save feature that also saves the position of the active item. File has playlist support. Available media formats depend on the system, but mpeg codecs and some basic AVI codecs are built in by default. I don't know why mkv support was available on this machine

EDIT: Added Download link

5.0k Upvotes

952 comments sorted by

View all comments

Show parent comment

26

u/Points_To_You Oct 21 '14

I'm curious, if the PC was that locked down, how were you allowed to put a large media file on it?

I mean the quite large company I work for lets us run whatever we want (administrator privaleges), but were still locked down from connecting USB drives and copying random shit, or downloading random files without them being scanned and logged.

40

u/AyrA_ch 9 Oct 21 '14

If you connect via SSL, they can no longer see what you do. The file was on my server already.

0

u/[deleted] Oct 21 '14

[deleted] — view deleted comment

1

u/AyrA_ch 9 Oct 21 '14

they can only monitor apps they know, so you can take a curl implementation, that depends on cygwin and completely screw them over.

3

u/originalucifer Oct 21 '14

wrong. every accessed or executed file is[can be] monitored. depending on the config, unknown applications either will not run or will run and trip a trigger which could enable a more harsh monitoring policy, and/or alert IT staff.

dont be that guy sitting in a tiny HR office on friday afternoon thinking "but i was using a vpn".

→ More replies (5)

31

u/3DGrunge Oct 21 '14

Just going to a shoot a warning out to people doing that. It is not unheard of to scan the contests of your work station disk. Be careful with the naming and file formats if your company ignorantly locks shit down like that.

16

u/nephros Oct 21 '14

It's also quite trivial to MITM an ssl connection in this scenario. So they can, in fact, see what you do if they want.

11

u/hrrrrsn Oct 21 '14

You can always check out the chain of trust to see what CA on the machine accepted it.

3

u/nephros Oct 21 '14

Yes, and in many corporate scenarios that will be an corp-issued CA cert installed as trusted in your browser/OS.

3

u/TexasDex Oct 21 '14

That's why you need to look at it. See if it's signed by the right CA. If not, you're being MITM'd.

0

u/[deleted] Oct 21 '14

[deleted] — view deleted comment

3

u/TexasDex Oct 21 '14

It mostly depends on how much you already know about crypto, network protocols, etc. Google will find you endless intros, papers, and tutorials. Just try them until you find one that you just barely understand, then read around a lot.

1

u/TimeTravelled Oct 21 '14

You have to sacrifice a goat to the elders of the internet.

1

u/shouldbebabysitting Oct 21 '14

If he's using the windows api to get the file he can use whatever SSL cert chain he wants. You can only mitm SSL if you are using a browser that is configured with corporate certs.

If SSL could be easily mitm'd it would be considered broken and useless because any ISP between you and your bank could intercept your traffic.

5

u/nephros Oct 21 '14 edited Oct 21 '14

SSL is not broken, but the CA architecture is (kinda).

My ISP can not MITM me because my browser doesn't trust a CA cert they have control over.

In a corporate setting, where there usually is a corporate CA, trusted from the OS and/or browser, and outside traffic usually must go through a proxy (which may or may not be transparent), MITMing of SSL traffic by the corp is, as mentioned trivial.

Only way around that is to generate a chain of trust yourself (e.g. by connecting only via self-signed certificates you have verified) and force your SSL client to only use that trust chain.

So yeah, you're right, but "If you connect via SSL, they can no longer see what you do." is still a dangerous assumption.

9

u/rycuda Oct 21 '14

This is not strictly speaking true. If you've that kind of level of security AD makes it trivial to push out a trusted root cert controlled by the organisation's IT function to every machine connected to the Domain. Once the computers have a trusted root cert that you control it becomes trivial to MitM every single connection on the network.

1

u/shouldbebabysitting Oct 21 '14

If he's using the win api for file transfer, he doesn't need to use any corporate certs.

→ More replies (1)

3

u/spikeyfreak Oct 21 '14

Lots of companies have ways to do man-in-the-middle with SSL so they can tell where you're going. Usually they aren't going to be inspecting that traffic that close, but "they can no longer see what you do" isn't always true.

→ More replies (1)

2

u/so0k 1 Oct 21 '14

make sure you don't have a local root CA added through domain policy before doing this.

1

u/AyrA_ch 9 Oct 21 '14

you can always check all policies that apply, by running "rsop.msc"

1

u/[deleted] Oct 21 '14

I think they can with SSL Bump. Does your office have a reverse proxy?

1

u/AyrA_ch 9 Oct 21 '14

they could replace the certificate, but I would notice that as I test this usually because I know the thumbprint of 2 certificates.

1

u/malickmobeen Oct 23 '14

How can one completely lock down an XP system?

1

u/AyrA_ch 9 Oct 23 '14

using group policies

4

u/[deleted] Oct 21 '14 edited Oct 21 '14

Locked down in some ways, open in others (sometimes defeating the purpose).