{
	"id": "8a0b8f71-7897-483a-a9b6-d9b9fe93c5ad",
	"created_at": "2023-01-12T15:10:20.248775Z",
	"updated_at": "2026-11-16T08:58:10.697275Z",
	"deleted_at": null,
	"sha1_hash": "012ef868a3ce9c566ff6b4c3db25079a1d42be92",
	"title": "2014-06-04 - Introducing Antak - A webshell which utilizes powershell",
	"llm_title": "2014-06-04 - Introducing Antak - A webshell which utilizes powershell",
	"authors": "",
	"file_creation_date": "2022-05-28T16:09:46Z",
	"file_modification_date": "2022-05-28T16:09:46Z",
	"file_size": 1200585,
	"plain_text": "1/7\r\nIntroducing Antak - A webshell which utilizes powershell\r\nlabofapenetrationtester.com/2014/06/introducing-antak.html\r\nDuing penetration tests, I always wanted to have a simple yet powerful webshell. For that, I\r\nwrote Antak last year, demonstrated it at Defcon 21 but never released for I was busy in\r\nother things :)\r\nAntak stands for God of Death in Indian mythology, popularly known as Yamraj. Muhahaha\r\nThe webshell is a part of Nishang now. It is written in ASP.Net.\r\nAntak's UI has been designed to resemble a powershell console.\r\n \r\nUse clear to clear the output box. Use help to see the built-in help.\n\n2/7\r\nLets see some of its features.\r\nRunning Commands\r\nTo run commands on the target machine, just type those in the command text box and press\r\nenter or click on submit.\r\n \r\n \r\nEach command is executed in a separate powershell process. To run multiple commands in\r\na single process, use semi-colon (;) separated commands like cd..;pwd;ls\r\n \r\nYou are effectively sitting on a powershell prompt with -noninteractvie and -executionpolicy\r\nbypass parameters. So all powershell commands would run. Great!\r\nCode snip for command execution:\r\n \r\n \r\nUpload a file\r\nTo upload a file using Antak:\n\n3/7\r\n1. Write the path writable directory in command box. Usually, at least C:\\Windows\\Temp\r\nshould be writable.\r\n2. Use the browse button to locate the file on your local machine.\r\n \r\n3. Click on \"Upload the file\" button.\r\n Also, lets verify if the file has been uploaded.\r\n \r\n Nice! The file has been uploaded.\r\nCode for this:\r\n \r\nDownload a file\r\nTo download a file, just write/copy its complete path in command box and click on the\r\n\"download\" button.\r\n \n\n4/7\r\n \r\n \r\n And this downloaded text file contains username and password to another machine. Of\r\ncourse, you won't find such things in an enterpreise enviroonment (pun intended) :D\r\n \r\nCode for download:\r\n \r\n \r\nExecuting Scripts\r\nThere are many ways how a script could be executed using Antak.\r\n \r\nUPDATE: In methods 1 and 2 below the script does not touch disk (someone asked me this).\r\n \r\n1. Paste the script in command box and click \"Encode and Execute\".\r\nLets try this with the egress testing script Firebuster.ps1\n\n5/7\r\n \r\n \r\n2. Using powershell one-liner for download \u0026 execute. Paste the one-liner in command box\r\nand click on execute.\r\n Lets try this with powershell payload generated using msf.\r\n \r\n \r\nThe one liner which could be used is:\r\n \r\n \r\n3. An uploaded script could be executed in the usual way.\r\n Lets upload powerpreter on the target and use Get-Information function.\n\n6/7\r\nHandy!\r\nRemoting/Pivoting\r\nRecall that we are practically on a powershell prompt. So lets try to use powershell remoting\r\nto execute commands on remote machines. Two things which are required for using\r\npowershell remoting from Antak are:\r\n1. Administrative credentials for the target remote system.\r\n 2. Powershell remoting must already be enabled between system where Antak is residing\r\nand the target machine. As it is not possible to change any settings due to low privileges\r\nunder which Antak runs.\r\nRecall that we downloaded a plain-text credential for a remote machine. That could be used\r\nnow.\r\nFollowing semi-colon(;) separated commands could be used to achieve this. This command\r\ntakes username and password in plain and exeucte ipconfig on the target.\r\n \r\n \r\nLets use this :)\r\nGreat! We are able to execute commands on the remote machine.\r\nThat is it for Antak, hope you liked it. It is a part of Nishang and could be found here:\r\nhttps://github.com/samratashok/nishang\n\n7/7\r\nIf you would like to see Antak in action, you may like to see the webcast I did for\r\nGarage4hackers:\r\nI look forward to feedback, bugs and feature requests.",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"VXUG"
	],
	"origins": [
		"pdf"
	],
	"references": [
		"https://papers.vx-underground.org/papers/Malware Defense/Malware Analysis 2014/2014-06-04 - Introducing Antak - A webshell which utilizes powershell.pdf"
	],
	"report_names": [
		"2014-06-04 - Introducing Antak - A webshell which utilizes powershell.pdf"
	],
	"threat_actors": [],
	"ts_created_at": 1673536220,
	"ts_updated_at": 1794819490,
	"ts_creation_date": 1653754186,
	"ts_modification_date": 1653754186,
	"files": {
		"pdf": "https://archive.orkl.eu/012ef868a3ce9c566ff6b4c3db25079a1d42be92.pdf",
		"text": "https://archive.orkl.eu/012ef868a3ce9c566ff6b4c3db25079a1d42be92.txt",
		"img": "https://archive.orkl.eu/012ef868a3ce9c566ff6b4c3db25079a1d42be92.jpg"
	}
}