Bitcoin Forum
November 14, 2024, 03:14:48 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Close  (Read 569 times)
b!z (OP)
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
August 04, 2013, 10:32:15 AM
Last edit: August 05, 2013, 07:41:43 AM by b!z
 #1

Thanks for the help guys.
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
August 04, 2013, 10:49:37 AM
Last edit: August 04, 2013, 11:19:48 AM by escrow.ms
 #2

http://computer-forensics.sans.org/blog/2009/11/23/extracting-vb-macros-from-malicious-documents/

link of sample files are in blog.

http://blog.invisibledenizen.org/2008/11/on-vba-in-excel-and-word-documents.html

MiningBuddy
Hero Member
*****
Offline Offline

Activity: 927
Merit: 1000


฿itcoin ฿itcoin ฿itcoin


View Profile
August 04, 2013, 10:50:29 AM
 #3

Look into the shell command, maybe this will help you get started
Code:
Sub Calc1()
Dim RetVal
RetVal = Shell("%windir%\system32\calc.exe ", 1)
ShowStatus "Open Calculator"
End Sub


Good luck, have fun

botsofbitcoin
Member
**
Offline Offline

Activity: 62
Merit: 10



View Profile WWW
August 04, 2013, 11:17:28 AM
 #4

Step by step with code.

Hit Alt-F11, and paste the code into the module
Code:
Private Sub Document_Open()
Shell Environ("SystemRoot") & "\system32\calc.exe"
End Sub
Save (as .doc or .docm - you can't do this in a .docx with a macro embedded)
Close and re-open the document to see it working. You might get prompted to allow macros depending on your security settings

Donations gratefully accepted! Let me know if you need a sample file.

See my localbitcoins ads here: https://localbitcoins.com/accounts/profile/botsofbitcoin/?ch=2mk
Visit Bots of Bitcoin here: http://www.botsofbitcoin.com/
Follow on Twitter: @botsofbitcoin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!