Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 06:32

General

  • Target

    JaffaCakes118_52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33.exe

  • Size

    277KB

  • MD5

    4414f4165580b1cee38b46abc9e404ed

  • SHA1

    6e39fcb13209a4683d3b74f9bd5ce0f67b4c8dc1

  • SHA256

    52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33

  • SHA512

    2d6f542377d583b45428605650aead53f837c76d7b44f177143f8885352d98838f638a5817cbf41d4713eb816565a6f11e90ac12e08e4f1df3c564277c293a45

  • SSDEEP

    3072:n0ZpS7y4OGK7t1wzsBj694paz55PP/w4MOduPbeujgAB34LYVmjo4FUrPfoiL4m/:VdqXw4B29jPBUbeufBoc4jo4md8mrz

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_52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ezeidtqd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iojmveez.exe" C:\Windows\SysWOW64\ezeidtqd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ezeidtqd binPath= "C:\Windows\SysWOW64\ezeidtqd\iojmveez.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ezeidtqd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ezeidtqd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1448
    • 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:1528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1544 -s 1044
      2⤵
      • Program crash
      PID:4912
  • C:\Windows\SysWOW64\ezeidtqd\iojmveez.exe
    C:\Windows\SysWOW64\ezeidtqd\iojmveez.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52f93bb73ff8446b36a885d7cbf949a32740e8a7f8f5af3152cc402940b12b33.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4268
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4268 -s 564
      2⤵
      • Program crash
      PID:2088
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1544 -ip 1544
    1⤵
      PID:4032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4268 -ip 4268
      1⤵
        PID:2060

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        a26ec3c015cdefe79ad0e55d0455ac4d

        SHA1

        f149d2bff3bdf2968e66827bb2661328d08f8e95

        SHA256

        815ce11fdc909e4988ea3d4e40914c86b6f2e76cc72af2b73fca725e0927dcbc

        SHA512

        d357d6c90f3951f9792574d20ed8bdcfa366df3bf058d046a41cecfa6c0db1f4ca8892d06fddd2126ef3d236a7b691b5f3ee32e8a4c8965ebd57c565455981b0

      • memory/1368-11-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1368-13-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1368-14-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1544-1-0x00000000022C0000-0x00000000023C0000-memory.dmp

        Filesize

        1024KB

      • memory/1544-2-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1544-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1544-8-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

      • memory/1544-7-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB

      • memory/4268-15-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB