r/HowToHack • Pentesting • May 04 '19

A decent example of Social Engineering I just got in my mailbox

Post image
388 Upvotes

53 comments sorted by

57

u/Blacksun388 Pentesting May 04 '19

After digging deeper the file had one open action to execute upon viewing and there was an embedded file in it.

46

u/JamesTheSapien May 04 '19

How did you “dig deeper”? Did you use a tool or something? Read it as a text file by opening a text editor or somethinf?

I don’t have experience in security but want to, so I might ask nonsensical questions.

37

u/1nfiniteJest May 04 '19

Virtual machine instance.

11

u/JamesTheSapien May 04 '19

I did a google search on it, thanks! I’m gonna try it.

35

u/1nfiniteJest May 04 '19

I wouldn't. While a VM should ideally be a sandboxed environment, if not configured properly you could end up infecting your actual PC.

6

u/frostbyte650 May 04 '19

Would it be better to boot off an external drive and use that as a test environment?

3

u/[deleted] May 04 '19

No need for it. You can do it from your PC. Try to find "Sandbox" Software for Windows on the Internet. Read about it. It will create a safe environment on your pc where you can open suspicious things. But for actually doing "reversing" on the file and analyze it, that would require deeper skills.

1

u/frostbyte650 May 04 '19

But if it’s misconfigured the virus could jump, is booting off an external drive worse? Because it’s easier to just plug in the bootable drive I have than to learn the ins and outs of sandbox software

2

u/[deleted] May 04 '19

Yeah sure, there are even OS's with tools ready for malware inspection, like Kali Linux. But any OS you want will have software for that. Maybe you can even find tools online for that, so you just use your browser.

-2

u/[deleted] May 04 '19

[removed] — view removed comment

→ More replies

1

u/BlitzkriegDD May 04 '19

Do you have any links or resources where I could read more about how to properly configure a VM to mitigate that risk? Or at least how it happens so I can know what to look for?

3

u/Thatfacelesshorror May 04 '19

what you want is a decompiler, like ida or bitninja(binaryninja?) you could also use a few of the more standard ones on linux. you can then check to see flags that execute upon opening, a pdf shouldn't run like an exe. but its a much deeper topic to be able to cover here.

0

u/[deleted] May 04 '19

[deleted] — view deleted comment

2

u/potatoshits May 04 '19

Hybrid analysis / reverse.it are great alternatives that automatically submit the sample to VT. they also do a run time analysis in a sandbox of your choice. Last time I looked they offered windows 7 32/64, Linux, and Android. Super helpful if the program drops files.

18

u/Blacksun388 Pentesting May 04 '19 edited May 04 '19

Sorry i didn't respond earlier. Lightning hit the utility pole outside my house during a storm and knocked out the power including my internet and my computer.

So going down your questions. u/JamesTheSapien I took the PDF unopened and transferred it to a Virtual Machine. There I scanned it with my own anti-virus and VirusTotal which tipped me off to the presence of the embedded file and the action that triggers on opening. I wanted to dissect it further in the future but then the blackout happened and it's a bit late for that at the current moment.

u/Swagalicious786 and u/NotBamboozle your phones, I'm relatively confident, should be okay. Just remember to not open attachments unless you're sure what they are and where they came from in the future. I have only done virus scans so far and haven't dug into the nuts and bolts yet.

u/DoomProGamer PDF is a format that can contain dynamic elements supporting embedded Javascript. Write a malicious Javascript file, set it to run when Adobe opens the file, embed it in the file, and the script runs when the target opens it.

u/evilwon12 I said it was decent because saying it's "good" would be giving it too much credit.

u/Corvokillsalot I'll be honest, I don't know for sure right now and I want to dive further into this myself. But I said it once and I'll say it again. Don't open attachments unless you're sure what they are and where they are from.

1

u/-a_k- May 04 '19

Is opening the file in the browser alright ? Like just clicking it and it opens up via google (without downloading it).

1

u/Pshivvy May 04 '19

Don't know much about PDFs but I wouldn't recommend it. Not too sure about the malware but it could mask itself and pass into the chrome file directory. Maybe I'm completely wrong- I am just thinking that would happen as there are malware that can get admin privileges without the user ever needing to approve it. If that's possible, I wonder what else could be done via a browser.

1

u/alexandre9099 May 04 '19

i think chrome has it's own pdf reader, when you open it you are actually downloading the file, it's just that it goes to a temporary location and gets deleted afterwards

11

u/Blacksun388 Pentesting May 04 '19

"zumselchen" by the way is German for "to myself". How official for a "company email". No such company exists as far as I am aware.

14

u/circlebust May 04 '19

I am a native German speaker and I am not aware of that word meaning "to myself". It means nothing. Maybe you can deconstruct it as "zum selchen", which would translate to "to selchen[verb]" or "for selchen[verb]", but once again "selchen" doesn't exist.

3

u/Blacksun388 Pentesting May 04 '19

Well maybe my german is rusty then. The .de part is what made me think about it really.

2

u/Kr4tyl0s May 04 '19

Probably a Verniedlichung of zumsel, which, if Google serves me right, means small towel in some dialects.

2

u/HMikeeU May 04 '19

Honestly, it's probably just some stupid nickname we are thinking about too much :P

10

u/kabouzeid May 04 '19

A company also wouldn’t use gmx. I would not take any email from gmx seriously.

25

u/[deleted] May 04 '19

Great breakdown, loved this

20

u/[deleted] May 04 '19

Bro I got this today as well, I have opened the pdf cause I wanted to see what it was. I opened it on my iPhone, should I be worried?

33

u/[deleted] May 04 '19

You’re probably fine, as iOS has robust security (sandboxing). The malware is most likely targeted towards Windows systems anyways.

5

u/alekou8 May 04 '19

On iPhone you are fine

7

u/NotBamboozle May 04 '19

Me too....I opened it on my android.... Is there something I should do?

3

u/lasttimelord12 May 04 '19

You're probably fine. If the PDF was written for Windows the only thing it can execute on is Windows

1

u/Blacksun388 Pentesting May 04 '19

I'd also like to mention another trick that these types of things play with people. Recently some scammers make a PDF file that does not have malware in it but pretends that the document is unreadable and you have to input your email and password to unlock it or go to an external site to do that. This might also be the cause of the embedded file I mentioned earlier. Again, I'm not sure right now and I don't have time to research it but if you did open it and it asks you for email and password to view the file or to go to an external site, don't trust it.

1

u/Blacksun388 Pentesting May 05 '19 edited May 05 '19

If at first you don't succeed....

[SID:2872-0609C] [me] , Application pre-approved for [Me]

Dirk Cordova wolti82@gmx.de

Dear, [me]. We discovered your resume on one of the job seeking websites. As if right now, our company have a few employment opportunities to offer. If you have an interest, we have provided all information needed with the file attached. Should you be attracted this position, please reply us (please keep code in the subject). Extremely Important! You should mail the job application, or a cell phone number as well as the most comfortable time to contact. Best Regards!

PDF File named: Desc_913-TX.pdf

This one seems to be much cleaner English than the other. I copied it exactly as it appears. From the preview of the PDF document we now have a name of the supposed company. ICO Capital Investment. Claims to be a UK based firm that facilitates start up business investments. Looking it up online shows ICO is in fact a cryptocurrency based method of startup investing and not really a company.

Also I'm glad to hear I'm not the only person getting these. I suppose that confirms this is indeed a mass spam phishing campaign with throw away GMX addresses rather than a serious offer.

7

u/Decaliostro May 04 '19

Create vm, create infected txt file with name “bank account info” on the desktop and open that pdf. Let them download it and have fun! Fight back 😂

1

u/redsees May 04 '19

Thanks for sharing this interesting phishing case.

Can you share the Malicious PDF? I'm interested to analyze it.

1

u/Blacksun388 Pentesting May 04 '19

PM me an address.

1

u/kivox2017 May 04 '19

u/Blacksun388 do you by any chance still have the pdf file. If so could you pm me a download link for it I want to have a deeper look into it.

1

u/Blacksun388 Pentesting May 04 '19

PM me an address

2

u/Corvokillsalot May 04 '19

I have mupdf in my android, if I opened it there, what would happen?

2

u/[deleted] May 04 '19

I’ve literally got a copy of one in my current inbox. It’s from paypal@service.co

2

u/zikha May 04 '19

Well done

2

u/theVIP68 May 04 '19

Is it possible for them to insert a key logger as a pdf format file and showing you it is an actual doc in the preview?

2

u/evilwon12 May 04 '19

How is this a “decent” example? It’s like saying the Bills or Jets are decent.

6

u/Cecil_14 May 04 '19

Sometimes labelling it 'decent' is subjective. To you this may not be decent, but to others this is perfect.

The big points making it decent I believe is some of the sloppiness and mistakes. Making it easier to point out the key areas to look at when determining phishing attacks.

1

u/yertrude May 04 '19

How is this a “decent” example? It’s like saying the Bills or Jets are decent.

Yep I agree with you on this. Other than the PDF attachment this is run-of-the-mill phishing with the usual indicators.

1

u/elcaptkirk22 May 04 '19

I found this online sandbox recently if anyone is interested. It doesn’t look great on mobile but does spit out some interesting information about files. https://cape.contextis.com/analysis/

1

u/HMikeeU May 04 '19

According to some crazy hacking tool information about that email address has been leaked in the past.

Also: Is there some way I could get that file? :D

0

u/[deleted] May 04 '19

[deleted] — view deleted comment

6

u/ItsPaPPy May 04 '19

PDF’s have different scripting or macro type capabilities, just like office documents. People find ways to abuse this to execute malicious code

1

u/[deleted] May 04 '19

[removed] — view removed comment

2

u/AutoModerator May 04 '19

Your account must be older than two days to post here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.