Beacon Object File that reports the taskbar host executable (Shell_TrayWnd owner, typically explorer.exe) and enumerates system tray notification icons (main area and overflow when present). Optional verbose mode prints full image paths for the host and for each icon’s owning process when resolvable.
- Default (no args): prints taskbar host exe name and each tray item name (tooltip text), plus owning exe name on the same line when the icon’s HWND can be resolved.
- Verbose: pass
verboseor/verboseas the packed string argument to also print full paths (TaskbarHostPath,TrayItemPathper item).
[i] tray_scout: notification area recon
[+] TaskbarHostExe: explorer.exe
[i] MainTray: 12 tray button(s)
[+] TrayItem: Example Agent | ExampleAgent.exe
[+] TrayItem: Volume
...
[i] Overflow tray not present or not yet created
[i] tray_scout finished
Verbose adds lines such as:
[+] TaskbarHostPath: C:\Windows\explorer.exe
[+] TrayItemExe: SomeVendor.exe
[+] TrayItemPath: C:\Program Files\Vendor\SomeVendor.exe
- Tray toolbar lives inside explorer.exe on legacy layouts; the BOF uses
VirtualAllocEx/ReadProcessMemoryand may fail ifOpenProcessis denied. - Windows 11 (22H2+) often removes classic
ToolbarWindow32tray hosts. When toolbar enumeration fails,tray_scoutfalls back toHKCU\Control Panel\NotifyIconSettings(read-only registry metadata). - Overflow (
NotifyIconOverflowWindow) may not exist until the user has opened the overflow chevron at least once. - Per-icon HWND/path resolution on legacy toolbars relies on undocumented tray structures and may degrade to tooltip-only lines on some Windows builds.