Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-12-2024 03:16

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

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • 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:4676
    • 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:1912
    • 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:1040
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -u -p 1040 -s 1020
        3⤵
        • Program crash
        PID:3080
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1040 -ip 1040
    1⤵
      PID:2880

    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

      13002cfc878c68cdbe5dda354117be10

      SHA1

      448cd56832e73d3841a35f21d9fcc4bde39b9fd3

      SHA256

      da55590495b60a95201d83e987e0f8958a3e1c2cb1994ad6018849a9a4670c47

      SHA512

      c2832621af48e48ee4fb162e71770188859dc9279d477b41d6e443992e98172e3579689893bd33cae5df7d327088ef783a4f81a438f12b2261ba3e58c2915923

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_5utfvm0y.2d4.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1040-42-0x0000000000990000-0x0000000001224000-memory.dmp

      Filesize

      8.6MB

    • memory/1040-43-0x0000000000990000-0x0000000001224000-memory.dmp

      Filesize

      8.6MB

    • memory/1040-44-0x0000000005B60000-0x0000000005BC6000-memory.dmp

      Filesize

      408KB

    • memory/1040-39-0x0000000000990000-0x0000000001224000-memory.dmp

      Filesize

      8.6MB

    • memory/1040-46-0x0000000000990000-0x0000000001224000-memory.dmp

      Filesize

      8.6MB

    • memory/1912-22-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/1912-23-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/1912-24-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/1912-27-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/4676-12-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/4676-38-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/4676-28-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/4676-0-0x00007FF8D0883000-0x00007FF8D0885000-memory.dmp

      Filesize

      8KB

    • memory/4676-11-0x00007FF8D0880000-0x00007FF8D1341000-memory.dmp

      Filesize

      10.8MB

    • memory/4676-1-0x00000181F48B0000-0x00000181F48D2000-memory.dmp

      Filesize

      136KB