Analysis

  • max time kernel
    94s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-12-2024 13:49

General

  • Target

    c185695a5c260e4c77fe5a0999ce23f9a3ea45f89b15003a18e8c3052e75beb6.ps1

  • Size

    208B

  • MD5

    f74352d968ebe606fcc81a9d827e5ccf

  • SHA1

    1d6b0838ef4e437998b11ea7c15691e483d7b9d6

  • SHA256

    c185695a5c260e4c77fe5a0999ce23f9a3ea45f89b15003a18e8c3052e75beb6

  • SHA512

    b8cf2b1d9fd7b4c2557918d05b89cc179f60849c6959dcefd92a26619c4af53cd5deb13bca6b9028af1934628626a3f0d27c463f38d4f73f5e1aedc37c080178

Malware Config

Extracted

Family

phemedrone

C2

https://api.telegram.org/bot7772275304:AAF3OSvWBzn5cIHkGD9ueBFz5ed91u-60-U/sendDocument

Signatures

  • Phemedrone

    An information and wallet stealer written in C#.

  • Phemedrone family
  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Using powershell.exe command.

  • Downloads MZ/PE file
  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Executes dropped EXE 1 IoCs
  • Themida packer 4 IoCs

    Detects Themida, an advanced Windows software protection system.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
  • Program crash 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 1 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 5 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\c185695a5c260e4c77fe5a0999ce23f9a3ea45f89b15003a18e8c3052e75beb6.ps1
    1⤵
    • Blocklisted process makes network request
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2276
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -WindowStyle hidden Add-MpPreference -ExclusionPath C:\Users\Admin\AppData\Local
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1740
    • C:\Users\Admin\AppData\Local\Activation.exe
      "C:\Users\Admin\AppData\Local\Activation.exe"
      2⤵
      • Identifies VirtualBox via ACPI registry values (likely anti-VM)
      • Checks BIOS information in registry
      • Executes dropped EXE
      • Checks whether UAC is enabled
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • System Location Discovery: System Language Discovery
      PID:2404
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 2404 -s 1008
        3⤵
        • Program crash
        PID:5064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2404 -ip 2404
    1⤵
      PID:4260

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Activation.exe

      Filesize

      3.2MB

      MD5

      aa3a94ba72728df41a815b060f5e9c52

      SHA1

      baec525e25786a3787b90b300a383f814e65377d

      SHA256

      573a6686dba8217e51b0c4fd9b041a4bf3ce193d6be69e201a6edcefa3dc42e6

      SHA512

      99772aa3f7837a205f1657730cafc93d8bdcd3cd3826669402f344db5ba28d48c84521dba2a7eab2e7a0c5b3b064fe8c364b9665d03253a94f6177565ef82962

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

      Filesize

      2KB

      MD5

      d85ba6ff808d9e5444a4b369f5bc2730

      SHA1

      31aa9d96590fff6981b315e0b391b575e4c0804a

      SHA256

      84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

      SHA512

      8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      1KB

      MD5

      4f8362156bf6859cf344ae53ccf6126d

      SHA1

      9bf4850170ee20846f92d846b39e8086f4ffd1b1

      SHA256

      bebc14b8306525300e8f9c1924acdc8979a67cff522fad606a2692cf04818a6a

      SHA512

      bee8b4f0cefa2ed7c0bc2c7ec5d8e36eac24cdcfefdcfbe1c03ddb77d9850a30af606e4425a057169b15c938687bbd81bea5f638c32604471c058a729a6dee0c

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jsin5eq4.51g.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1740-25-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/1740-28-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/1740-23-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/1740-24-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-29-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-1-0x000002337BD90000-0x000002337BDB2000-memory.dmp

      Filesize

      136KB

    • memory/2276-0-0x00007FF9D97A3000-0x00007FF9D97A5000-memory.dmp

      Filesize

      8KB

    • memory/2276-30-0x00007FF9D97A3000-0x00007FF9D97A5000-memory.dmp

      Filesize

      8KB

    • memory/2276-31-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-12-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-11-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-13-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-42-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2276-41-0x00007FF9D97A0000-0x00007FF9DA261000-memory.dmp

      Filesize

      10.8MB

    • memory/2404-43-0x00000000004E0000-0x0000000000D74000-memory.dmp

      Filesize

      8.6MB

    • memory/2404-46-0x00000000004E0000-0x0000000000D74000-memory.dmp

      Filesize

      8.6MB

    • memory/2404-47-0x00000000004E0000-0x0000000000D74000-memory.dmp

      Filesize

      8.6MB

    • memory/2404-48-0x0000000005A70000-0x0000000005AD6000-memory.dmp

      Filesize

      408KB

    • memory/2404-50-0x00000000004E0000-0x0000000000D74000-memory.dmp

      Filesize

      8.6MB