Didier Stevens

Wednesday 10 February 2016

Create Your Own CMD.XLS

Filed under: Hacking,My Software — Didier Stevens @ 0:00

For several years now I’ve been using my modified cmd.exe from Excel.


I’m not releasing this spreadsheet with my cmd code, but I release the VBA code. You can create your own spreadsheet (or Word document) with this VBA file. If you don’t know how, here’s a video:


  1. Looks like the code, as written, won’t work on 64-bit Excel. Even if you fixed the KERNEL32 references, would the 32-bit shellcode work?

    Comment by lseltzer — Wednesday 10 February 2016 @ 1:45

  2. Correct, this is 32-bit code, it will only work in 32-bit Office.

    Comment by Didier Stevens — Wednesday 10 February 2016 @ 7:39

  3. Nice!

    Comment by Rudi Coetzee — Wednesday 10 February 2016 @ 8:47

  4. […] Create Your Own CMD.XLS […]

    Pingback by Overview of Content Published In February | Didier Stevens — Tuesday 29 March 2016 @ 0:01

RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.