Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 08:02

General

  • Target

    JaffaCakes118_9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d.exe

  • Size

    187KB

  • MD5

    4456628ee52545cbb91c3588b327a1ad

  • SHA1

    a699b0f6d3c4b451f40632d82f55659629d832b4

  • SHA256

    9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d

  • SHA512

    dd60054847d9c91f0a22e10eb5e1aaed977d871ef077eb8c033239311a11f12a467f81cd96609f3cdac01a5c70ecaddfb37397444c84d4a0a70c11a710a3b987

  • SSDEEP

    3072:T7ojA4DTPiETuihAgpJrI0EhQkL7I313zQ9J0YgYpZa9uD6Vdyhk9:WA4DTPiwhAV0EhQqm13c9J0YwVf

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

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\JaffaCakes118_9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zqmhwryr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jcxjncn.exe" C:\Windows\SysWOW64\zqmhwryr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zqmhwryr binPath= "C:\Windows\SysWOW64\zqmhwryr\jcxjncn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zqmhwryr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zqmhwryr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • 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:4188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4416 -s 1036
      2⤵
      • Program crash
      PID:4320
  • C:\Windows\SysWOW64\zqmhwryr\jcxjncn.exe
    C:\Windows\SysWOW64\zqmhwryr\jcxjncn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c07c1ee178300be5ef12f1c51cc3d5d574499b4f977d6bfc3314701dae0ab7d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4336
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1440
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4336 -s 512
      2⤵
      • Program crash
      PID:4976
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4416 -ip 4416
    1⤵
      PID:3932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4336 -ip 4336
      1⤵
        PID:1080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        bc9fc5a2a190675409c04f26224dd208

        SHA1

        0408ffbe17b23796f80f229d76383dff076801ae

        SHA256

        7a6e0ff1c00c7c6c16983990cba5e58f9ac8e7c0f99d3e824ad5b26b683fdb86

        SHA512

        ad42fcdb1dc0f6ac86c3e3453fab44e8cb051bc9fb9049049353f7b2c3d3e53aa59ac2ac03ecaba41a204e8607d2ba05268c0b7e1c4c7f8ccb16c45a05a32ff7

      • memory/1440-8-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/1440-17-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/1440-16-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/4336-7-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4336-6-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4336-15-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4416-0-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

      • memory/4416-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4416-12-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

      • memory/4416-11-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

      • memory/4416-10-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4416-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4416-1-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB