Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2024 06:58

General

  • Target

    d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc.exe

  • Size

    14.5MB

  • MD5

    dc63c79c3f7bc083812b8e8f47c44902

  • SHA1

    640329ba407b6ed8482d2d5e0d082847451a7d37

  • SHA256

    d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc

  • SHA512

    5610cb53a6274f62be4e9341f6eb0fda3e28ccb4f69b344b63c4a531f9044ca758519f89aacc5d312624962606e80333ae38fab9ea84e453513c7f754e6b2534

  • SSDEEP

    12288:OZlC6v/5oQU6buXH53333333333333333333333333333333333333333333333n:ObjvluXH

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc.exe
    "C:\Users\Admin\AppData\Local\Temp\d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\trarfybn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ndddsjph.exe" C:\Windows\SysWOW64\trarfybn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create trarfybn binPath= "C:\Windows\SysWOW64\trarfybn\ndddsjph.exe /d\"C:\Users\Admin\AppData\Local\Temp\d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description trarfybn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start trarfybn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1752
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4800 -s 1156
      2⤵
      • Program crash
      PID:4076
  • C:\Windows\SysWOW64\trarfybn\ndddsjph.exe
    C:\Windows\SysWOW64\trarfybn\ndddsjph.exe /d"C:\Users\Admin\AppData\Local\Temp\d29a3b017f6a864c855fca570073d822bb37a77006467b8a75f04ce7edcbfedc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4816 -s 556
      2⤵
      • Program crash
      PID:2284
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4800 -ip 4800
    1⤵
      PID:2556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 4816 -ip 4816
      1⤵
        PID:1888
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4448,i,1602949858158667699,12464335823361976127,262144 --variations-seed-version --mojo-platform-channel-handle=4412 /prefetch:8
        1⤵
          PID:2592

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\ndddsjph.exe

          Filesize

          12.4MB

          MD5

          95e6835931de09b53960aaaeda931755

          SHA1

          144f36d2da1a6974d7f7e69d7a104b0b67685ff9

          SHA256

          e454631d103fca0a1c6226662fcdd8f4323ddc7cc3738a7254bcf769b844dab4

          SHA512

          4484dbd19b08eda141d802a8d425b5caf18cb9398294f1d5c1c82ff17df132f0b0a791aed4da136cb57b33e4d0a2a9f32f5b76e5d2eddbe65637d86c67dc5b10

        • memory/1932-10-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

          Filesize

          84KB

        • memory/1932-22-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

          Filesize

          84KB

        • memory/1932-20-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

          Filesize

          84KB

        • memory/1932-14-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

          Filesize

          84KB

        • memory/1932-21-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

          Filesize

          84KB

        • memory/4800-3-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/4800-1-0x0000000000680000-0x0000000000780000-memory.dmp

          Filesize

          1024KB

        • memory/4800-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

          Filesize

          76KB

        • memory/4800-17-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/4800-16-0x00000000001C0000-0x00000000001D3000-memory.dmp

          Filesize

          76KB

        • memory/4800-15-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB

        • memory/4800-13-0x0000000000680000-0x0000000000780000-memory.dmp

          Filesize

          1024KB

        • memory/4816-8-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB

        • memory/4816-19-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB

        • memory/4816-9-0x0000000000400000-0x000000000044C000-memory.dmp

          Filesize

          304KB