This repository has been archived by the owner on Dec 11, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from giMini/master
Gpup.md
- Loading branch information
Showing
5 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Mshtml.dll | ||
|
||
* Functions: Execute | ||
|
||
``` | ||
rundll32.exe Mshtml.dll,PrintHTML "C:\temp\calc.hta" | ||
``` | ||
|
||
Acknowledgements: | ||
* Pierre-Alexandre Braeken - @pabraeken | ||
|
||
Code sample (calc.hta): | ||
``` | ||
<html> | ||
<head> | ||
<title>LOLBin</title> | ||
<script language="VBScript"> | ||
Sub RunProgram | ||
Set objShell = CreateObject("Wscript.Shell") | ||
objShell.Run "c:\windows\system32\calc.exe" | ||
Self.Close | ||
End Sub | ||
</script> | ||
</head> | ||
<body onload="RunProgram"> | ||
<h1>LOLBin</h1> | ||
</body> | ||
</html> | ||
``` | ||
|
||
Resources: | ||
* https://twitter.com/pabraeken/status/998567549670477824 | ||
|
||
Full path: | ||
``` | ||
c:\windows\system32\Mshtml.dll | ||
c:\windows\sysWOW64\Mshtml.dll | ||
``` | ||
|
||
Notes: | ||
|
||
|
||
Detection: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## AcroRd32.exe | ||
|
||
* Prerequisites | ||
|
||
``` | ||
Replace C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroCEF\RdrCEF.exe by your binary | ||
``` | ||
|
||
* Functions: Execute | ||
|
||
``` | ||
Run AcroRd32.exe | ||
``` | ||
|
||
Acknowledgements: | ||
* Pierre-Alexandre Braeken - @pabraeken | ||
|
||
Code sample: | ||
* | ||
|
||
Resources: | ||
* https://twitter.com/pabraeken/status/997997818362155008 | ||
|
||
Full path: | ||
``` | ||
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Gpup.exe | ||
|
||
* Functions: Execute | ||
|
||
``` | ||
Gpup.exe -w whatever -e c:\Windows\System32\calc.exe | ||
``` | ||
|
||
Acknowledgements: | ||
* Pierre-Alexandre Braeken - @pabraeken | ||
|
||
Code sample: | ||
* | ||
|
||
Resources: | ||
* https://twitter.com/pabraeken/status/997892519827558400 | ||
|
||
|
||
Full path: | ||
``` | ||
C:\Program Files (x86)\Notepad++\updater\gpup.exe | ||
``` | ||
|
||
Notes: | ||
Used by Notepad++ | ||
|
||
|
||
|
||
|