🟥
LSWSec - Offensive
  • Introduction
  • File transfer
    • Transferring Files
      • Transferring Files - Linux
      • Transferring Files - Windows
  • Recon
    • Passive information Gathering
      • Website
      • Finding SubDomains
        • DNS
        • DNS Zone Transfer
    • Subdomain Enumeration
    • OSINT
      • Email
      • People
      • Social Media
      • Username and Accounts
      • Passwords
      • Business
      • Image and Location
    • Active Information Gathering
      • Nmap
      • Netcat
      • ss
      • Unknown Port Scanning
      • Footprinting
        • FTP
        • SMB
        • NFS
        • DNS
    • Vulnerability Searching
  • Ports
    • 21 - FTP
    • 22 - SSH
    • 23 - Telnet
    • 25 - SMTP
    • 69 - TFTP
    • 80 - HTTP
    • 88 - Kerberos
    • 110 - Pop3
    • 111 - RPCBind
    • 119 - NNTP
    • 135 - MSRPC
    • 139/445 - SMB
      • PSExec
      • Nmap
      • Other tools
    • 143/993 - IMAP
    • 161/162 - SNMP
    • 389/636 - LDAP
    • 443 - HTTPS
    • 554 - RTSP
    • 587 - Submission
    • 631 - Cups
    • 1433 - MsSQL
    • 2049 - NFS
    • 3306 - MySQL
    • 3389 - RDP
  • Web
    • useful information
    • Web Proxy
      • Burp
    • Web Content Discovery
    • SQL
    • Web Fuzzing with FFUF
      • Directory Fuzzing
      • Domain Fuzzing
      • Paramater fuzzing
    • Local File Inclusion
      • LFI
      • Basic Bypass
    • Authentication Bypass
    • IDOR
  • Priv-esc
    • Windows
      • mimikatz
  • Pivoting
    • Info
    • Locating other machines
    • proxy
    • SSH tunneling/port forwarding
    • plink
    • socat
    • chisel
    • sshuttle
    • connecting to windows environments with a user account
  • Command and Control
    • powershell empire
    • Armitage
  • Active Directory
    • Debugging DNS
    • NTLM Authenticated Services
    • LDAP Bind Credentials
Powered by GitBook
On this page
  1. Command and Control

powershell empire

  • Start powershell empire server (usually done on a cloud instance for a red team)

    • sudo powershell-empire server

  • Start powershell empire client

    • powershell-empire client

    • to connect to a remote client add to the end:

    • HOSTNAME --username=USERNAME --password=PASSWORD.

  • starkiller can be used by running "starkiller" in the terminal

    • this will bring up a gui

    • the default credentials are empireadmin password123

  • Choose a listener

    • uselistener http

  • at a minimum we need to set host and port in the options (option names are case sensitive)

    • set host <local ip>

    • set port 8000

  • stagers are payloads, they are used to connect back to waiting listeners and create an agent when executed

    • usestager multi/bash

    • at a minimum set the listener name to the one created earlier

    • set Listener CLIHTTP

    • run 'execute' to execute the stager, this will give a script to execute on the target

  • run the stager code on the target, this should check the agent in with the empire server.

  • running 'agents' in the client will list every agent we can interact with

  • hop listeners can be used for pivoting with empire

Previousconnecting to windows environments with a user accountNextArmitage

Last updated 5 months ago