LOGBOOK

HELP

1 / 341
time's up — finish this card
Other keys: show • Space: good • 1-4: rate • 0: skip • 5: flag
Topic Password Cracking

Question

After a Meterpreter session opens, what does the sysinfo command reveal, and what phase of an attack is this?

Answer

sysinfo prints the compromised machine's OS, architecture, hostname, domain, and logged-on user — the reconnaissance step of post-exploitation.

Post-exploitation is everything that happens after you've gained access — the goal shifts from "get in" to "understand, persist, and expand." sysinfo is usually the first move because the answers steer everything next:

  • OS + architecture (x64/x86) → which further exploits and tools will run
  • Domain → is this a standalone box or part of an Active Directory you can pivot through?
  • Logged-on user / privileges → do you already have admin, or must you escalate?

It's the attacker's equivalent of "where am I and what am I working with?"

Tip: Recon doesn't stop at the perimeter — the first thing a smart intruder does inside is look around.

or press any other key
Topic Firewall Fundamentals

Question

What does Application Awareness, URL Filtering, and Content Awareness look like in practice on an NGFW (Palo Alto example)?

Answer

The Palo Alto screens show three layers of inspection: Application identification (what app is this?), URL category filtering (where is this URL going?), and Content/file-type blocking (what's actually being transferred?). Each contributes a piece of the policy.

Application Awareness:

Palo Alto's App-ID identifies traffic by behavioral fingerprint — not just port. The catalog covers thousands of known applications categorized by:

Category Examples
Category business-systems, collaboration, general-internet, media, networking
Subcategory audio-streaming, file-sharing, gaming, email
Technology browser-based, client-server, network-protocol, peer-to-peer
Risk 1 (low) to 5 (high)
Characteristic Evasive, Excessive Bandwidth, Prone to Misuse, SaaS, Tunnels Other Apps

Result: a rule like "block applications with Risk ≥ 4 AND Characteristic = Tunnels Other Apps" can stop unknown VPN-over-HTTPS-style tunnels generically.

URL Filtering:

The Palo Alto URL Filtering profile matches:

  • Categories: dozens of pre-defined URL categories, each assigned an action (Allow, Alert, Continue, Block, Override).
  • Site Access vs User Credential Submission — separate decisions for "can I view this site" vs "can I submit a password to this site" (anti-phishing!)

The unique trick: block credential submission to uncategorized or new-domain sites. Even if the user can browse a phishing site, they can't enter their corporate password.

Content Awareness:

File Blocking profile lets you block:

File type Why blocked
7z, bat, cab, chm, class, cpl, dll, exe, hlp, hta, msi, ocx, pif, rar, scr, tar, torrent, vbe, wsf Executable / scriptable / commonly used in malware
encrypted-rar, encrypted-zip Can hide payloads from inspection

The key insight: blocking encrypted archives is a major anti-malware control. Attackers send encrypted ZIPs because the AV scanner can't see inside; blocking them at the perimeter forces attackers to a different (more detectable) channel.

The combined ruleset:

The wide-format Palo Alto rule list shows interzone rules combining all three layers:

| Type      | Source Zone | Source Address | User | Dest Zone     | Application | Service          | Action |
| interzone | Z_YellowNet | any            | any  | Z_untrust     | any         | any              | Allow  |
| interzone | Z_Core      | G_IT-Adminserver| any | Z_vlan312_Z   | capwap, icmp, radius | application-default | Allow |

Each rule references zones (logical groupings of interfaces), specific user groups, application identities, and services. One rule can integrate IP, identity, application, content — that's the NGFW promise.

Tip: The "application-default" service entry is Palo Alto's clever trick — the rule says "use the default port for whatever application you identified." So if App-ID detects HTTP, port 80 is implied; if it detects SSH, port 22 is implied. You don't have to specify ports; the application identity does it.

Go deeper:

or press any other key