I-Am-Jakoby / Flipper-Zero-BadUSB

Repository for my flipper zero badUSB payloads. Now almost entirely plug and play.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional Feature - Identify remote storage tools

Dangerousfish opened this issue · comments

commented

Hey Jakoby,

I haven't had the opportunity to build this yet but though this might come in handy for enumerating remote storage tools that may not be signed into.

# New Feature: Cloud Services Enumeration
try {
    $cloudServices = Get-WmiObject Win32_Process | Where-Object { $_.Name -match 'Dropbox|OneDrive|GoogleDrive' } | Select-Object Name
} catch {
    $cloudServices = "Error in detecting cloud services"
}

Response:

PS C:\Users\User> $cloudServices

Name
----
OneDrive.exe