Analysis

  • max time kernel
    143s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    22-06-2022 08:26

General

  • Target

    2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5.exe

  • Size

    113KB

  • MD5

    f065237fd3b6c12dae373cf7815a92e8

  • SHA1

    047579f3b675f1cd67e300dc065b129bf63b118f

  • SHA256

    2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5

  • SHA512

    8462c2a3e8d7873103b7707219485f14d2b5d591f2c276eac90ff0fad91b9bb4cef82766a218e4404739a783e7da45c5fd08ae7450c43d054a4c44064c0a9275

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) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5.exe
    "C:\Users\Admin\AppData\Local\Temp\2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rsxpzcjp\
      2⤵
        PID:444
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\feuqxty.exe" C:\Windows\SysWOW64\rsxpzcjp\
        2⤵
          PID:3156
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rsxpzcjp binPath= "C:\Windows\SysWOW64\rsxpzcjp\feuqxty.exe /d\"C:\Users\Admin\AppData\Local\Temp\2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1156
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rsxpzcjp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4856
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rsxpzcjp
          2⤵
          • Launches sc.exe
          PID:4284
        • 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:3028
      • C:\Windows\SysWOW64\rsxpzcjp\feuqxty.exe
        C:\Windows\SysWOW64\rsxpzcjp\feuqxty.exe /d"C:\Users\Admin\AppData\Local\Temp\2e7a988c2135655f43ba2622d9e3cec0cd082352be9a829dee43772a4db5a7a5.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1784
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1732

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\feuqxty.exe
        Filesize

        14.3MB

        MD5

        51d395284b6f9a347218b54cb4dab3ce

        SHA1

        2c4b3817b1451d271d79739f559ccd1e94e82bdf

        SHA256

        c95e6d9af3be67c8a4d4861267067dbd6b17fcc575115485f604b16d18b6f175

        SHA512

        47951e6e8dae99cd1f97a41f97f4f79ea0f1283d1bac7e3084ece11944f69f4f2f7c660aeb37f1490e8a47274812ae940e32ad728fe9199ecbb9a32bdfa31baa

      • C:\Windows\SysWOW64\rsxpzcjp\feuqxty.exe
        Filesize

        14.3MB

        MD5

        51d395284b6f9a347218b54cb4dab3ce

        SHA1

        2c4b3817b1451d271d79739f559ccd1e94e82bdf

        SHA256

        c95e6d9af3be67c8a4d4861267067dbd6b17fcc575115485f604b16d18b6f175

        SHA512

        47951e6e8dae99cd1f97a41f97f4f79ea0f1283d1bac7e3084ece11944f69f4f2f7c660aeb37f1490e8a47274812ae940e32ad728fe9199ecbb9a32bdfa31baa

      • memory/444-132-0x0000000000000000-mapping.dmp
      • memory/1156-135-0x0000000000000000-mapping.dmp
      • memory/1732-142-0x0000000000000000-mapping.dmp
      • memory/1732-143-0x0000000000420000-0x0000000000435000-memory.dmp
        Filesize

        84KB

      • memory/1732-147-0x0000000000420000-0x0000000000435000-memory.dmp
        Filesize

        84KB

      • memory/1732-148-0x0000000000420000-0x0000000000435000-memory.dmp
        Filesize

        84KB

      • memory/1784-141-0x0000000000400000-0x0000000000420000-memory.dmp
        Filesize

        128KB

      • memory/1784-145-0x0000000000400000-0x0000000000420000-memory.dmp
        Filesize

        128KB

      • memory/3028-138-0x0000000000000000-mapping.dmp
      • memory/3156-133-0x0000000000000000-mapping.dmp
      • memory/4284-137-0x0000000000000000-mapping.dmp
      • memory/4856-136-0x0000000000000000-mapping.dmp
      • memory/5072-139-0x0000000000400000-0x0000000000420000-memory.dmp
        Filesize

        128KB

      • memory/5072-131-0x0000000000400000-0x0000000000420000-memory.dmp
        Filesize

        128KB

      • memory/5072-130-0x0000000000400000-0x0000000000420000-memory.dmp
        Filesize

        128KB