r/sysadmin • IT Director • May 14 '21

General Discussion Yeah, that's a hard NO...

So we are a US Company and we are licensed to sell in China, and need to be re-authorized every 5 years by the Chinese government in order to do that.

Apparently it is no longer just a web form that gets filled out, you now need to download an app and install it on a computer, and then fill out the application through the app.

Yes, an app from the Chinese government needs to be installed in order to fill out the application.

yeah, not gonna happen on anything remotely connected to our actual network, but our QA/Compliance manager emailed helpdesk asking to have it installed on his computer, with the download link.

Fortunately it made it's way all the way up to me, I actually laughed out loud when I read the request.

What will happen though, we are putting a clean install of windows on an old laptop, not connecting it to our network and giving it a wifi connection on a special SSID that is VLANed without a connection to a single thing within our network and it is the only thing on the VLAN at all.

Then we can install the app and he can do what he needs to do.

Sorry china, not today... not ever.

EDIT: Just to further clarify, the SSID isn't tied and connected to anything connected to our actual network, it's on a throwaway router that's connected on a secondary port of our backup ISP connection that we actually haven't had to use in my 4 years here. This isn't even an automatic failover backup ISP, this is a physical, "we need to move a cable to access it" failover ISP. Using this is really no different than using Starbucks or McDonalds in relation to our network, and even then, it's on a separate VLAN than what our internal network would be on if we were actually connected to it.

Also, our QA/Compliance manager has nothing to do with computers, he lives in a world of measuring pieces of metal and tracking welds and heat numbers.

4.7k Upvotes

674 comments sorted by

98

u/countextreme DevOps May 14 '21

81

u/FunkadelicToaster IT Director May 14 '21

It'll be thrown in a closet to be used for this again in 5 years.

3

u/m-p-3 🇨🇦 of All Trades May 15 '21

I'd make a small VM on a cheap VPS provider, deploy the software and make it available over VNC or something.

111

u/l0rdv8r May 14 '21

Wow. Just….. wow. I would of made them connect to a WiFi hotspot, I wouldn’t of even put it on our network in ANY form.

32

u/FunkadelicToaster IT Director May 14 '21

Well, we asked him to do it at home over the weekend, which he will probably do, but this wifi SSID is it's own VLAN and it goes out on a secondary IP that is on our backup connection as well.

I am cautiously but significantly paranoid, but not overly paranoid.

This laptop however, is also currently blocked from being able to be connected via wire inside the building.

19

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

Don't do it on his home network! His router is likely unpatched and they could infect that, then monitor the traffic from there including the times he wants to check email but not connect to VPN or something equally stupid. Not to mention get blackmail for his porn choices or something.

→ More replies (17)

48

u/ScrambyEggs79 May 14 '21

We keep an extra mobile hotspot or 2 on hand along with laptops that we just wipe all the time for questionable tasks that might lead to malware such as this.

28

u/billbixbyakahulk May 14 '21

Honestly, with anything state-owned, especially from China, I wouldn't even do that. Watch Zero Days. Wiping is not careful enough.

→ More replies (1)
→ More replies (2)

22

u/linux_n00by May 14 '21 edited May 14 '21

the app itself is questionable already. the moment the device connects to the corporate wifi, it will still sniff things out

→ More replies (3)

13

u/wildcarde815 Jack of All Trades May 15 '21

There's no way that person didn't already download the program and try to run/install it. They only reached out because it failed (which you can't be sure it actually did).

1

u/FunkadelicToaster IT Director May 16 '21

Actually, you would be surprised, we have our users trained really really well.

We get 15-20 help desk tickets asking us about completely legitimate emails every day whether they are safe to open or not.

38

u/pdp10 Daemons worry when the wizard is near. May 14 '21

Yes, an app from the Chinese government needs to be installed in order to fill out the application.

It could be doing things as subtle as recording the localization settings of the local machine and embedding that in the files it creates. That behavior would be fairly normal in a word processor, but it could be nefarious when it comes to dissidents and politics.

18

u/lvlint67 May 14 '21

It's an app to fill out a form... Even real scammers just type the questions into notepad which is already installed.

The only defense would be me kind of proprietary digital signature.. But that's a silly reason.

1

u/FunkadelicToaster IT Director May 14 '21

yep, the user isn't super computer saavy, so not sure about anything in terms of collecting, but might set something up to collect.

13

u/MSPMayhem May 14 '21

I would be curious what your antivirus would say about it if you installed on an isolated machine. It is concerning but not surprising someone would request the install. Do you think it is a program due to incompetence of not knowing how to do it any other way or malice?

15

u/FunkadelicToaster IT Director May 14 '21

We aren't technically installing it, since there is a "no install" version of it but still...

The program is new, it used to just be a set of forms on a website that got filled out before.

13

u/primestick Click it till I fix it May 14 '21

Dude do not install anything from the Chinese government and definitely never submit any sensitive information to any Chinese government site, there is no encryption at all over there your shits just out there flapping.

23

u/FunkadelicToaster IT Director May 14 '21

While I mostly agree with you, there's millions upon millions of $$ per year at stake with this certification, it's not something we can just skip, it has to be done and it's been done at least 3 times before I was here and this is not the second time while I am here, but first time with the app.

While I can understand the questioning and skepticism of this process, there is no other option and it's not my problem for the big picture, but the company isn't going to give up the money by not doing this certification.

7

u/primestick Click it till I fix it May 14 '21

Oh I know it’s not something you can avoid, I wish we could get out of China’s pocket when it comes to business but it’s not something we can do anytime soon. My fear is that it’s going to end up costing us more in the long run than it was worth.

12

u/FunkadelicToaster IT Director May 14 '21

I mean, we are technically selling to a US company and it's a US company in China that is using the product, they just need to use it in China.

and we are literally the only company in the world that makes this product, so... just kinda has to happen.

→ More replies (4)

4

u/canadian_viking May 14 '21

an app from the Chinese government needs to be installed in order to fill out the application.

our QA/Compliance manager emailed helpdesk asking to have it installed on his computer

Sooo...the frickin QA/Compliance manager didn't see anything wrong with this? Lol that doesn't exactly inspire confidence...

1

u/FunkadelicToaster IT Director May 16 '21

For the record, he is QA/Compliance for our materials, nothing related to computers.

Like, we get a box of bolts in or a shaft that was sent out for heat treatment, his department checks to make sure it is all up to snuff to build our product. Hes the reason I know what a "heat number" is.

→ More replies (3)

3

u/splash757 May 14 '21

Not quality, nor assurance....at all....not even in the most remote sense. Hahhaha

→ More replies (1)

2.2k

u/redditusertk421 May 14 '21

record the network traffic to see what it does :)

747

u/Plastic_Helicopter79 May 14 '21

With Microsoft SysInternals Process Monitor logging in the background.

https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

16

u/[deleted] May 14 '21

I don't know if procmon can still cripple a computer, but if you just want logging there's sysmon too.

→ More replies (1)
→ More replies (3)

535

u/[deleted] May 14 '21

tcpdump would be like a movie..

218

u/garaks_tailor May 14 '21

I'd sincerely love to see the results

→ More replies (16)

41

u/EtteRavan May 14 '21

Oh God, a film with actual hacking! A dream

→ More replies (16)
→ More replies (1)

127

u/ailyara IT Manager May 14 '21

^ ^ ^ ^

Would love to see that capture.

55

u/pleasantstusk May 14 '21

Please deliver OP!

→ More replies (1)

35

u/snowsnoot May 14 '21

TLS back to AWS :D

13

u/roliv00 May 14 '21

Yup. Ain’t gonna see shit.

→ More replies (1)

15

u/everfixsolaris Jack of All Trades May 14 '21

Sounds like a good reason to learn how to use wireshark. I would like to see the tcpdump. Also see about an external capture it would be interesting to see if it tries to escape to OS.

→ More replies (2)

32

u/jdlanc May 14 '21

The app will probably say tcpdump was detected and can’t continue lol

22

u/somewhat_pragmatic May 14 '21

Rename the tcpdump executable TotallyJustAPrinterDriver. You think they're doing a hash check on each process?

→ More replies (1)

10

u/MondayToFriday May 14 '21

You can always do the packet capture on the IP gateway.

0

u/[deleted] May 14 '21

[deleted]

→ More replies (1)

11

u/[deleted] May 14 '21

It could be all encrypted…. But you wouldn’t know til you tried

20

u/redditusertk421 May 14 '21

can't encrypt a ping, the other side won't know how to respond. Same for CIFS/NFS probing.

→ More replies (4)

3

u/wuyadang May 15 '21

Op please deliver

3

u/tvtb May 15 '21

Remember wireshark has CVEs from time to time. That means that trying to capture/view specially crafted network packets can pwn your computer running wireshark

→ More replies (25)

1.2k

u/MacAdmin1990 Mac Admin May 14 '21

Don't even put it on a special VLAN. Send the manager off to Starbucks or somewhere else with WiFi, then burn the computer.

845

u/MisterFives May 14 '21

Even better - send him to your competitor's parking lot to pick up their guest WiFi.

543

u/DesolationUSA May 14 '21

If IT could have war crimes.....

→ More replies (8)

116

u/[deleted] May 14 '21

that's an actual wardriver

→ More replies (3)

65

u/trisul-108 May 14 '21

I would say go to the Chinese Ministry of Truth and do it in their lobby.

→ More replies (5)

15

u/smeenz May 14 '21

Sit outside the chinese embassy ?

→ More replies (2)

76

u/billbixbyakahulk May 14 '21

Yeah, I would seriously take this approach. Who knows what kind of stuxnet-level crap they're putting on that machine that will assemble itself and become active a few years from now, or get passed around via thumb drives.

→ More replies (1)

11

u/OkBaconBurger May 14 '21

Burn the computer... LoL, love it.

20

u/merreborn Certified Pencil Sharpener Engineer May 15 '21

Back in the nineties the sysadmins I knew liked to propose the liberal application of thermite in this context.

A puny little campfire won't melt a drive, but thermite definitely will.

→ More replies (7)

66

u/[deleted] May 14 '21

Concur with the burn the computer.

We have sent people over to China for some deals in the past, they had to install apps to access internet over there.

Came back in and the bios modules no longer matched what it was sent out with (we kinda knew this would be the case). You can't trust the TPM modules anymore once it gets back. The hardware can be assumed compromised. We put the laptops up on ebay once they were used in China. Re-imaging is not enough.

92

u/improbablynothim May 14 '21

We put the laptops up on ebay once they were used in China.

Damn dude. Do you disclose?

→ More replies (13)

33

u/Fearless_Process May 15 '21

Seems pretty dirty to let someone else use the compromised machine without them being aware. Their privacy is just as important as yours, just destroy the machine.

→ More replies (1)
→ More replies (5)

3

u/Mr_Bunnies May 15 '21

100% agree - you're talking about a lot of time spent on special configuration, and it's still a much worse/riskier idea than just sending them somewhere with public wifi.

3

u/FastRedPonyCar May 15 '21

LOL this was my first thought. Why even bother with that. Just go get some coffee, take care of it, pull the harddrive and then throw the laptop in the dumpster but also not forgetting to responsibly recycle that battery.

0

u/[deleted] May 14 '21

[deleted]

164

u/say592 May 14 '21

The IP isnt so much the issue. Its just the fact that when your adversary is a state actor, you cant assume anything is safe. They have litteral billions of dollars at their disposal. Is it likely they are targeting you specifically? Probably not. That doesnt mean they wont try to put a backdoor in for future use. This isnt exactly the kind of situation where you want to find out that they have some previously unknown capability (or that someone on your end screwed configuring something).

It would cost the price of one laptop that is already destined to go to recycling to format and drive to Starbucks or the public library or wherever and run it from there. Do not return to the office, do not pass go, do not collect $200. Just yank the drive out of it and grind it up, and ditch the rest of the unit.

→ More replies (17)

35

u/[deleted] May 14 '21

But they could get the IP just as easily off a webform.

→ More replies (2)

2

u/packet_weaver Security Engineer May 15 '21

China requires their finance software on a machine already, just put it on that one which I assume is not linked to your network.

1

u/FunkadelicToaster IT Director May 16 '21

We don't need to do any of that, we aren't selling to china, or even a chinese company, we sell to American company who does business in China.

2

u/good4y0u DevOps May 15 '21

That absolutely blows my mind , only because I am sure not every company has someone like you.

2

u/FunkadelicToaster IT Director May 16 '21

This is the result of a good team and good training.

The user sent in the help desk ticket, and it went through 5 people for approvals before it got to me, none of them would approve it.

→ More replies (1)

467

u/goochisdrunk IT Manager May 14 '21

OP: *going through all this trouble...

Meanwhile...

QA/Compliance Manager: *filling out the form...

"Hmm, 'Question 1 - Write down all your corporate logon and passwords...' Well... OK..."

153

u/countextreme DevOps May 14 '21

Sadly I can see this happening, and the compliance manager doesn't even think twice about it when his "Office 365 sign-in" screen appears.

Or he copies sensitive reports to the laptop "because he needed the data to answer some of the questions"

86

u/[deleted] May 14 '21

Last company I worked out rolled out duo and we immediately saw how many idiots must reuse simple passwords.

More than a a few relatively high up people would ask "hey I got this sign in request that says approve or deny, what do I pick?"

It's amazing how the second something is digital all common sense disappears. I'm just going to start going door to door asking if I can borrow people's house keys with a "yes or no" button on a phone screen.

→ More replies (6)

13

u/[deleted] May 15 '21

Can’t help but think you should be higher up than this. All the air gapping in the world is a waste of time if the person filling out the form hasn’t the presence of mind to consider the data that’s going out. The technical work would be nothing more than a nice bow on top of the present.

107

u/Please_Dont_Trigger May 14 '21

Actually... I don't think you're being paranoid enough. I wouldn't connect it to your network at all. Go down to Starbucks and do it there.

22

u/EveningTechnology May 15 '21

Poor Starbucks. Got anything sketchy you need to do on the internet? Starbucks can help.

→ More replies (1)

330

u/fireuzer May 14 '21

It might be simpler to just use an Azure VDI trial.

215

u/everfixsolaris Jack of All Trades May 14 '21 edited May 14 '21

I agree. Use the burner laptop to RDP into the Azure VM. For bonus points install TOR and setup a temp exit node on an Amazon VM.

edit: spelling

11

u/[deleted] May 14 '21

Also use a hotspot stay off private network.

18

u/farva_06 Sysadmin May 14 '21

I wouldn't even RDP to thing. Give him direct console access to it.

→ More replies (2)
→ More replies (19)

30

u/[deleted] May 14 '21

Yeah, all these other elaborate schemes of buying burners, setting up sandboxes and VLANS - just install it on Azure VDI and be done with it.

69

u/me_again May 14 '21

Is the app available for anyone to download? I am genuinely curious...

→ More replies (1)

37

u/homing-duck Future goat herder May 14 '21

We had a requirement from customs in China that we purchase a computer/software package from them and have it on site to integrate with their customs processing system. Requirement was also to not change the admin password (it was something like password1234 cant remember what exactly) and have a public ip, and not to install patches, have RDP open, and no firewall enabled. We had a dedicated internet connection just for this thing. It was pawned on an almost weekly basis.

It also came with a pirated copy of windows server and sql server enterprise.

We have something similar now, but no public ip needed, and we can set the admin password to what ever we want, and install patches. But... we still need to run a bunch of apps from the CN government that all require the end user to have local admin priv's. We have crowdstrike installed but pretty much disable all alerting. This thing makes CS light up like a Christmas tree.

FML

479

u/stratospaly May 14 '21

Buy a cheap laptop from Best Buy, install app, fill out application while at a Starbucks, wipe laptop and return to Best Buy for a refund.

372

u/[deleted] May 14 '21

Shit, just go install the app on a demo ipad at Best Buy and fill it out there.

177

u/flugenblar May 14 '21

Nice! That guy has management written all over him.

→ More replies (2)

10

u/TheLightingGuy Jack of most trades May 14 '21

I'd say the demo laptops but I think they have UAC setup on those with an admin/standard user account.

→ More replies (4)
→ More replies (7)

52

u/plazman30 sudo rm -rf / May 14 '21

Wiping the laptop may not be enough. Hard drive firmware can be exploited. So can the Intel management partition. You get either of those two things, you're in the machine for life.

Assume you're tossing it when you're done. Use an old laptop you're going to junk anyway. When you're done DBAN it, and throw it out.

15

u/SilverTabby May 15 '21

OP's going to have to do this same song and dance again in 5 years. Keep the laptop in a locked valut that no one else has access to, and clearly labeled.

→ More replies (5)

113

u/Snickasaurus May 14 '21

This guy sysadmins

99

u/[deleted] May 14 '21

Don't do that to some poor open-boxer. Put a bullet in it.

41

u/excalibrax May 14 '21

Drill that fucker and then go office space on it.

→ More replies (4)

22

u/etnguyen03 May 14 '21

Next on /r/sysadmin: how I expensed a Glock Gen5 9mm

note: this is a joke, if you couldn't tell.

→ More replies (4)

9

u/powerman228 SCCM / Intune Admin May 14 '21

As a fan of open-box shopping, thank you.

34

u/Bob4Not May 14 '21

I like it except the refund, part. I consider purchasing something with the intent of returning it to be unethical. Also, behavior like this puts Best Buy’s out of business. I still want them around.

→ More replies (10)

13

u/reddit-lou May 14 '21

Please don't abuse Best Buy like this.

25

u/[deleted] May 14 '21

No, and I can't even believe this is upvoted in this sub. You should all be ashamed.

→ More replies (1)

242

u/[deleted] May 14 '21

Dont have it touch your network AT ALL. not physically and not logically. Setup an LTE hotspot and use that instead. China will grab your public IP in the process and add it to their records, opens you up to direct attacks.

52

u/caffeine-junkie cappuccino for my bunghole May 14 '21

If you have any kind of on-prem system that is accessible externally, they already have that and have scanned it at least once. So has the CSEC/GCHQ/NSA/etc as you are an party with dealings with a nation of interest.

24

u/swuxil May 14 '21

And so has half the world.

→ More replies (3)

78

u/tucuntucun May 14 '21

Oh fuck. Didn't think about that.

37

u/red5_SittingBy Sysadmin May 14 '21

Yeah, there's absolutely no reason for the laptop to even touch the corp network. Don't even get pretty, just off to McDonalds with it.

→ More replies (5)

7

u/[deleted] May 14 '21

They'd have that from the old webform anyways.

4

u/cloudrac3r May 15 '21

If your public IP address being exposed is a threat to your security model, you have a bad security model.

→ More replies (2)

3

u/Totto251 May 15 '21

Would it really make a difference if they have the IP? I mean, most companies have a static public IP anyway for email etc. So I would just go to their website, look for something like the [email protected] address, throw that into mxtoolbox or something like that and get their public IP that way?

→ More replies (3)
→ More replies (4)

156

u/bigwillyb IT Manager May 14 '21

FBI counterintelligence offices love to hear about this sort of stuff in the context of industrial espionage. Reach out to your cognizant field office, they may be interested in obtaining a copy of the app for analysis.

https://www.fbi.gov/contact-us/field-offices

72

u/Fallingdamage May 14 '21

As we all laugh and discuss the outcome of the packet captures, I cant help but wonder how many US companies with relationships like yours are actually going to download and install this shit without a second thought...

14

u/Thornton77 May 14 '21

Same though. It must happen every day maybe 1 out of 10 do something more secure.

7

u/LOLBaltSS May 15 '21 edited May 15 '21

Definitely more than a few. I have a client that has finance staff in China that absolutely refuses to do anything other than have workstations open to the world on RDP via NAT rules in their firewall for said staff to RDP into after their stateside people leave for the day. Honestly we should ditch them like a hot potato, but management doesn't want to eject any clients paying money unless they're literally getting bad looks from 3 letter agencies.

→ More replies (1)

24

u/Joe_Cyber May 14 '21

OP,

PLEASE keep us updated on this!

131

u/DeadDog818 May 14 '21

100% it is CCP spyware. I hope you do record what this monster does and post a follow up here. I'll be vaguely interested to know if they accept the renewal if you deny them access to your network. Please post a follow up with what happens.

I've heard the CCP have required foreign businesses within China to install spyware for a while now. Interesting they are expanding outside their boarders.

→ More replies (3)

54

u/-Satsujinn- May 14 '21

To echo others - don't even VLAN it. Either hotspot it, or use a public network.

Also, never use that device again. Persistent BIOS/firmware malware is a very real thing and China have been known to use it. You have to assume the government will also be using the best of the best in terms of spyware, so if there is any connection whatsoever, even a sandboxed VM, there is a very high possibility that they can break out.

China, not even once.

13

u/TheGainsWizard May 14 '21

For real man. I've seen reports of shit that doesn't even make sense and is way above my head about what they can actually do with malware. China is insanely impressive when it comes to cyber attacks and malware. Like black magic fuckery 5D chess levels of impressive.

11

u/scramj3t May 14 '21

Nope... nowhere near your physical/logical infrastructure. Cheap throw-away 4G dongle straight out to the Interwebs, then nuke all.

30

u/BrobdingnagLilliput May 14 '21

You're a lot less paranoid than I.

I'd buy a burner smartphone that can act as a wifi hotspot and fill out the application in my local Starbucks. No connection to any device on my network.

20

u/dotalchemy IT Manager May 15 '21

Can you post the MD5 / SHA256 hashes of this so folk can add to their software scans?

Hashes of installer and resulting binary please :)

10

u/redvelvet92 May 14 '21

Should create a WVD instance in Azure China and open it there.

10

u/ManagedIsolation May 15 '21

What will happen though, we are putting a clean install of windows on an old laptop, not connecting it to our network and giving it a wifi connection on a special SSID that is VLANed without a connection to a single thing within our network and it is the only thing on the VLAN at all.

I would just send someone over to Starbucks for a coffee and make them use Starbucks WiFi

90

u/ILikedWar May 14 '21

How do you think China grew as fast as they have? You think they are magically "innovative"? They've been stealing shit for literally decades, and governments and corporations have sold us out repeatedly.

→ More replies (18)

18

u/A4720579F217E571 May 14 '21

I'd go one step further and use a USB mobile broadband dongle with a PAYG SIM, and don't have WiFi enabled at all. Maybe even disable in BIOS/UEFI if possible.

Even if you create an SSID exclusively for this, the OS "sniffs" available SSIDs and their access point MAC addresses. There are other devices with GPS that "sniff" nearby SSIDs and their MAC addresses to create a database of access points and their physical locations. Link the two and you can identify the location down to a few square metres.

7

u/Ser_Robert_Strong May 14 '21

Buy a burner and use as a hotspot

Encase burner and laptop in cement

Take boat to international waters

Dump contents of cement overboard

6

u/MrHusbandAbides May 14 '21

I wouldn't even put it on the wifi, find a starbucks, use theirs

6

u/Shitty_Users Sr. Sysadmin May 14 '21

Run wireshark on that fucker too.

6

u/Kaf33nRush May 14 '21

Yes, please post a WireShark capture session!

6

u/samsquanch2000 May 14 '21

chuck it in an azure VM

2

u/the_rogue1 I make it rain! May 14 '21

our QA/Compliance manager

That better have a "former" in that title after that idiocy.

1

u/FunkadelicToaster IT Director May 16 '21

Nothing to do with computers for his job.

Metals, welds, etc are his world.

→ More replies (1)

26

u/tesseract4 May 14 '21

This is fucked up. American companies are going to have to learn to say no to the CCP's conditions for access to their market of consumers. They're just going to keep pushing until they get pushed back. China is not your friend, and they don't care whether you sell to their people or not. They're only interested in advancing their own agenda.

20

u/diito May 14 '21

I'm glad the west is finally waking up from the blatantly obvious things China has been doing for the past 20+ years, but to think we can still trade with them is delusional. We can't end it overnight we are so dependant but block their access to our court systems like they do theirs, delist Chinese companies, end their access to our capital markets, end the Hong Kong special status they use to access USD, require complete IP handover if they want to sell in our markets like they do to us, and start taxing/tariffing the crap out of companies that manufacture or source high end or critical items from China or other unfriendly countries. They do all that crap to us and we just take it, so that they can take our tech and copy it then kick us out. China can't be trusted for anything, everything is a weapon to use against us, including/especially trade. When the CCP collapses then we can reassess.

→ More replies (3)

5

u/elevul Wearer of All the Hats May 14 '21

Uh, we'd just spin up a clean vm in Azure on it's own VNET accessible via bastion and let the employee do their thing.

5

u/BillyDSquillions May 15 '21

I'm not super smart here, but wouldn't it be better to hotspot the laptop or public wifi, 4g etc and not even use your corporate network link for the traffic? I wouldn't even want them knowing the IP

5

u/kstewart0x00 May 15 '21

VLAN'd? I'd be taking that laptop to a McDonald's!

9

u/Mister_Brevity May 14 '21

You could probably fire up an aws workspace desktop, do the thing, then destroy it.

11

u/countextreme DevOps May 14 '21

Make sure you disable RDP clipboard sharing and ensure the default of drives and printers not being shared is in effect.

4

u/ApricotPenguin Professional Breaker of All Things May 14 '21

While everyone is giving ideas for keeping it off the network for this time, I have a different question.

What are you going to do to prevent anyone that may have admin privileges from installing the application the next time this request comes in (i.e. If it's not assigned to you) - or if someone installs in on their personal device hooked up to your company's WiFi (if a BYOD network exists)

4

u/BirdoTheMan May 14 '21

I wonder how many US companies will go through with this on devices on their network.

4

u/matthew7s26 May 14 '21

giving it a wifi connection on a special SSID that is VLANed without a connection to a single thing within our network and it is the only thing on the VLAN at all

I wouldn’t even connect it at work. Take it offsite, use a public WiFi somewhere.

4

u/zombiepirate2020 May 14 '21

You should connect through a Starbucks wifi! :D

4

u/DiscombobulatedAdmin May 15 '21

Then, monitor the traffic.

4

u/jimlahey420 May 15 '21

I wouldn't even put it in a isolated VLAN, I'd turn up a MiFi or something so it's literally not connected at all to my network. That is some shady shit lol

4

u/[deleted] May 15 '21

Just use a prepaid 4g sim

4

u/sewiv May 15 '21

I'd drive down to Starbucks and use their Wi-Fi, too.

4

u/0zeroprofit0 May 15 '21

Take the laptop to starbucks and leave it.

4

u/ragewind May 15 '21

I would not even connect it to an isolated SSID.

Buy a sim and a MIFI and tape it to the laptop to be used for nothing else, if they want to follow the path back to the laptop they can hack the mifi to their hearts content but it won’t be through you main gateway

7

u/calcium May 14 '21

It's worth mentioning that the app they want you to install is known to have massive security issues and a back door. I can't seem to find it now, but a security researcher dug into it a few years back and found that the app was so poorly coded and the fact that it vacuumed up all info on the machine and sent it back to China, you can bet you're doing the right thing!

6

u/Z_BabbleBlox May 14 '21

Wait, have you not been following all of this in the security community? It has been all over the groups there for the last year or two.

Its insane, it is very very very much industrial espionage software. China was called out over it under Trump administration and China's response was "So?"

8

u/bakugo May 14 '21

Uhh you do realize that a lot of your hardware is manufactured in china and comes with hardware backdoors built in right?

3

u/gilium May 14 '21

If you’re referring to the small chip found on boards last year iirc that was competent debunked as a back door

0

u/[deleted] May 15 '21

[deleted]

→ More replies (2)

3

u/vppencilsharpening May 14 '21

We regularly get product and samples from overseas. We created an entire network exactly for software like this.

It's setup like a home network and has a few dedicated ports in the sample area. We recycle a couple old laptops each year, giving the users local admin.

The network is physically separate from everything else in our building.

3

u/alphaxion May 14 '21

Sounds like a job for captain burner AWS account...

3

u/DJRWolf May 14 '21

Maybe you should post about this over in /r/cybersecurity

Would also love a follow up on what you find it does and if they reject the re-authorization.

3

u/pier4r Some have production machines besides the ones for testing May 14 '21

plot twist!

Chinese app "where do you think all your electronics gets assembled? If you can connect remotely to anything that can restrict us, we can too! Activate backdoors!"

No just joking (maybe).

3

u/[deleted] May 14 '21

Can we play with it. You want to throw it in one of my private VM's?

3

u/SuspiciousMeat6696 May 14 '21

I'd keep the laptop, and use it again 5 years from now. But I would use Starbucks, McDonald's or Library wifi.

I'd use the Chinese or Russian embassy or consulate guest wifi if you can. Or do it from guest wifi of Chinese or Russian owned company.

3

u/RobbieRigel Security Admin (Infrastructure) May 15 '21

It would be a good thing to learn Ghidra on.

3

u/stephendt May 15 '21

Do these apps get flagged by AV?

3

u/BeyondBlitz May 15 '21

The local FBI field office might like to hear about this.

3

u/cichlidassassin May 15 '21

This is a one time use deal on a public network. I wouldn't spin that shit up in my own city let alone my own network

3

u/edparadox May 15 '21

I would just use the app outside the company premises and shred the entire device when it is done.

3

u/interestingcurious May 15 '21

Yup.

Just like I would do, except that I would connect to a 4G hotspot instead from my network (VLANed or not).

7

u/bradbeckett May 14 '21

I'd also shit list it in the entire domains SRP. Hash and/or code signing certificates.

7

u/Kanibalector May 14 '21

You never heard of a hotspot and a sandbox?

2

u/EduRJBR May 14 '21

My name Boris. Sell to Russia, Russia safer.

2

u/addddgjjjuhhgffhhhhg May 14 '21

Get a Craigslist laptop and go to a mcdonalds a city away.

2

u/TinyWightSpider May 14 '21

> giving it a wifi connection on a special SSID

You should give it a wifi connection at your local library or Starbucks instead. ;)

2

u/mrhorse77 May 14 '21

I wouldnt have even done all that. Id have made a clean laptop with no domain/metwork info, then gone to a starbucks and used their wifi. I wouldnt want that thing anywhere near my networks

2

u/the_doughboy May 14 '21

I'd go further then that. I'd buy a burner phone and tether the laptop to that.

2

u/djetaine Director Information Technology May 14 '21

I wouldnt even put it on a special SSID. I'd go pick up some public wifi and then throw the laptop in the trash.

2

u/mr_duong567 Sysadmin May 14 '21

I was gonna add just use a public WiFi or tether your phone with a VPN to some other country just for shits and giggles

2

u/RubadubEmdub May 14 '21

Build a VM in a free tier account in azure and do it in there on its own vnet and everything. Nice and easy to cleanup and it only gives China Azure IPs :)

2

u/elcheapodeluxe May 14 '21

I kinda want to create a little virtual domain with honeypot servers and workstations and drop this in there and let it run somewhere BFE and very very far away from my company as an isolated experiment.

2

u/falconcountry May 14 '21

Then when the form is filled out you're going to drop that laptop into an active volcano correct?

2

u/stickmaster_flex Sr. System Engineer May 14 '21

Please run the traffic through Suricata and post the results. . .

2

u/[deleted] May 14 '21

Hand the guy the laptop, say "here, go to starbucks"

2

u/port53 May 14 '21

I wouldn't even put it on its own VLAN, I'd give give laptop to the business person and tell them to go to Starbucks.

2

u/putinhimself2020 May 14 '21

I was in the WTF state while reading the comments until I realized that this is r/sysadmin... Whew....

2

u/Majik_Sheff Hat Model May 14 '21

Yeah... I'd be tempted to remove the wifi card entirely and let it run through ethernet directly into your VLAN. A few minutes of packet capture data sent to a cracking cluster and lateral movement is possible onto most WPA networks.

With the new frag attacks that have come to light I would trust it even less.

2

u/TheGainsWizard May 14 '21

Yeah this is the kind of shit that needs to get reported to an actual US security firm. I have no idea what company you work for or how big it is but this needs to be documented and reported, especially if you're working for a company with widely used software.

If you intend to do this at all I recommend not doing anything like what you're talking about. This is burner device that's never even seen your network on an LTE hotspot/public wifi territory. Also don't burn the device. Once you've finished with it, send it to the security firm as evidence and have them do their thing.

2

u/shiny_roc May 15 '21

Maybe it's a sign you should cut ties.

2

u/T351A May 15 '21

Get that program's binaries to a security company

2

u/idontspellcheckb46am May 15 '21

I'd order another circuit completely. I don't trust the 0 days that have not been deployed yet.

2

u/spazmo_warrior System Engineer May 15 '21

All you guys saying “send him to starbucks” to use the wifi, think of the poor starbucks sysadmin/itsec guy trying keep his network safe!

2

u/[deleted] May 15 '21

Heck, I would just stick a GSM modem in a PC with no NIC's of any kind. No bluetooth, no wifi, nothing. Just the GSM modem

2

u/[deleted] May 15 '21

Glad at least someone out there knows what china does.

Until you guys have Zoom too

2

u/Mikegonemad May 15 '21

Oh man, this is bad. Hate them for putting up such requirements!

2

u/linkinit May 15 '21

get a junk computer and connect to starbucks. then set the computer on fire.

2

u/LMF5000 May 15 '21

I'd put it inside a virtual machine to make sandboxing even easier. I second the idea of examining what kind of traffic it generates.

2

u/s3c10n8 IT Manager May 15 '21

Yep, sounds like you're on the right track. I might do what was suggested about using a single switch with a mirrored port rather than wifi. But you probably have more experience than me lol.

I'll add to the chorus that I'd love to see that pcap, just to pick it apart and see what we can see

2

u/SternBernard May 15 '21

It'll be set on a timer, if it's still installed after a month, the company must be insecure, so will fire up and get to work.

2

u/[deleted] May 15 '21

Isolate that app using software defined micro-seg and monitor network traffic to and from that app in real time. You should also monitor all the processes allowed to run on that server so you have full visibility at OS and network level. We use ColorTokens to do that with all our apps.

2

u/jebhebmeb May 15 '21

A user had to do something similar so we gave her an old laptop and had her drive down the street to McDonald’s to do it. Not letting that shit even in the building

2

u/FartsWithAnAccent HEY KID, I'M A COMPUTER! May 15 '21

Way to be vigilant op, nice job

→ More replies (2)

2

u/MarkOfTheDragon12 Jack of All Trades May 15 '21

I end up doing the same for the lenovo 'vantage' software, on systems I can't drop a clean install of windows on.

• Uninstall from add/remove programs

• Stop still-running processes in Task Manager

• Delete tasks that will re-install it again from Task Scheduler

• Delete the Lenovo folders from c:\program files, c:\program files (x86), and c:\windows\

It's such a royal pain to get rid of.

2

u/davidbrit2 May 15 '21

I wouldn't even put it on your network like that. Use a wireless hotspot or tether to a phone.

2

u/Newdles May 15 '21

We just went through this. Setup a completely air gapped email domain, azure domain, etc where it's the only account that exists. Get a sim card enabled computer and throw it on that. Do not put any work data or anything connected to this. Give it to an employee in your office to turn on occasionally to run the software. Tadah.

2

u/NoitswithaK May 15 '21

Shit for something that happens once every 5 years I'd send him to Starbucks with said laptop instead of taking the time to setup something he's not going to use for more than a day

2

u/VrecNtanLgle0EK May 15 '21 edited May 16 '21

I personally wouldn't even vlan it. I would place it on a completely segregated network if you insist on using the chinese spyware app. Is it really worth the effort to sell to china?

→ More replies (2)

2

u/punchkicker1981 May 15 '21

I'd be thinking completely separate physical network, with no form of contact to the main network at all, that's fucked up.

2

u/wgalan May 15 '21

Install fiddler on that, to snoop on every request

2

u/Isotop7 May 15 '21

tcpdump that shitter!

2

u/[deleted] May 21 '21

Is there an update on this? Did you packet capture? Anything interesting?

1

u/OppositeBasis0 May 15 '21

well not sure why you going troth all that trouble setting up a new SSID, taking a new VLAN etc when you could just disable wifi, and be done. Even better, as you wont have control of the laptop give the QA people a virtual machine with no internet access or LAN access what so ever.

→ More replies (3)

3

u/DiscreteLogic May 14 '21

Kudos.. that sounds about as safe and reasonable as possible in that situation.

Are you going to run the download through VirusTotal and capture the traffic to review?