Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-05-2024 04:10

General

  • Target

    77dd2e67ae3a0d69f2c7b8d8619e9d9d_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    77dd2e67ae3a0d69f2c7b8d8619e9d9d

  • SHA1

    4736ebc4bcc6dea80889ca46575a0d9d10ee05f9

  • SHA256

    c980f397ea8ed1320a3cb81a5e347bd60794bd54e2d7348aee8a7adea1b1beb4

  • SHA512

    deb8ad9fd4693cb01d158a416105345c8a6e62690654bacfcc49947a684c87167618d1bfec1df83701d4e388ad00490771bf3ed47cc5d953b167fd0c6cbf2b5c

  • SSDEEP

    3072:y9Tpm/Wn628w6rzTkYfiL2+jKfgi4m5nuGFU6W6WN06QUj:teizwFLnKP46uC2

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\77dd2e67ae3a0d69f2c7b8d8619e9d9d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\77dd2e67ae3a0d69f2c7b8d8619e9d9d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwnqfbta\
      2⤵
        PID:1760
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hgqhbzoa.exe" C:\Windows\SysWOW64\lwnqfbta\
        2⤵
          PID:1088
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lwnqfbta binPath= "C:\Windows\SysWOW64\lwnqfbta\hgqhbzoa.exe /d\"C:\Users\Admin\AppData\Local\Temp\77dd2e67ae3a0d69f2c7b8d8619e9d9d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lwnqfbta "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1544
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lwnqfbta
          2⤵
          • Launches sc.exe
          PID:3508
        • 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
          PID:4904
      • C:\Windows\SysWOW64\lwnqfbta\hgqhbzoa.exe
        C:\Windows\SysWOW64\lwnqfbta\hgqhbzoa.exe /d"C:\Users\Admin\AppData\Local\Temp\77dd2e67ae3a0d69f2c7b8d8619e9d9d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4924
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        75cf8ed0107282e61eb029e501dddc70

        SHA1

        91555ca95b94671ec9f9bedf323f7313d3d6ffdf

        SHA256

        4867571d447cd49dace320b07f5c4ad45cde1b89e88497d35e2b92bacf1afc90

        SHA512

        5bcb1809cfce4958ecb8c32fde4961bd8581ae73c2990f2ae225d74ecfafbcb665214495eaa626212ef7a44c1d9f03ee7b6d2c4efc9bd8123d8c014f41220f59

      • memory/4508-8-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/4508-12-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/4508-13-0x00000000005C0000-0x00000000005CE000-memory.dmp

        Filesize

        56KB

      • memory/4508-14-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/4736-1-0x00000000009D0000-0x00000000009D1000-memory.dmp

        Filesize

        4KB

      • memory/4736-2-0x00000000009E0000-0x00000000009E1000-memory.dmp

        Filesize

        4KB

      • memory/4736-0-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/4736-6-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/4924-7-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/4924-11-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB