Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-11-2024 11:49

General

  • Target

    a7b5afb958e1f5a5aa8a89fcffd4e2bb_JaffaCakes118.exe

  • Size

    11.0MB

  • MD5

    a7b5afb958e1f5a5aa8a89fcffd4e2bb

  • SHA1

    a581eaa933ebd023e48f9633257a1099e0085bdf

  • SHA256

    8dada8550c69139e50dcdf23aac63902b63fc35e4092ad10aa125dad7833b245

  • SHA512

    a20f40a6c1794eb4736956ecc62d69ff279aad472f229147b983f666c21a84ff9561e4b790b221d9a80a0dfc586d11a767ad68e68cff3305d346ec0da5a8d64d

  • SSDEEP

    196608:SkNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd:S

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.

  • Tofsee family
  • 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\a7b5afb958e1f5a5aa8a89fcffd4e2bb_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a7b5afb958e1f5a5aa8a89fcffd4e2bb_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oampotrk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xshrwbtr.exe" C:\Windows\SysWOW64\oampotrk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oampotrk binPath= "C:\Windows\SysWOW64\oampotrk\xshrwbtr.exe /d\"C:\Users\Admin\AppData\Local\Temp\a7b5afb958e1f5a5aa8a89fcffd4e2bb_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oampotrk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oampotrk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1912
    • 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:4260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4188 -s 1044
      2⤵
      • Program crash
      PID:4368
  • C:\Windows\SysWOW64\oampotrk\xshrwbtr.exe
    C:\Windows\SysWOW64\oampotrk\xshrwbtr.exe /d"C:\Users\Admin\AppData\Local\Temp\a7b5afb958e1f5a5aa8a89fcffd4e2bb_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4672
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4672 -s 560
      2⤵
      • Program crash
      PID:4408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4188 -ip 4188
    1⤵
      PID:4660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4672 -ip 4672
      1⤵
        PID:1484

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        219b2b93626e2fa750118454f0495bf0

        SHA1

        faa2ca3d59b07e4904ffff1685b945b75961aa6d

        SHA256

        64ab9219c8739ced13a45aed15be1478f07569bf7b81ad8a67a511ea42c8d61a

        SHA512

        cfc0cf95bad1edd2931d1eb49145203b83550528a1ddf59327366d7363b5a466fd50265534768de3381497bb49d7ff3312f76864e8fcf09b0b753901e1d70f98

      • memory/2968-11-0x0000000001040000-0x0000000001055000-memory.dmp

        Filesize

        84KB

      • memory/2968-13-0x0000000001040000-0x0000000001055000-memory.dmp

        Filesize

        84KB

      • memory/2968-14-0x0000000001040000-0x0000000001055000-memory.dmp

        Filesize

        84KB

      • memory/4188-1-0x0000000002F60000-0x0000000003060000-memory.dmp

        Filesize

        1024KB

      • memory/4188-2-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4188-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4188-9-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

      • memory/4188-8-0x0000000000400000-0x0000000002C6C000-memory.dmp

        Filesize

        40.4MB

      • memory/4672-15-0x0000000000400000-0x0000000002C6C000-memory.dmp

        Filesize

        40.4MB