Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    15-04-2023 18:33

General

  • Target

    file.exe

  • Size

    351KB

  • MD5

    2eb8c0882b1ad0705cad453aa0b8b283

  • SHA1

    ebd2e309e0ba0df58de9ce24314191a6ba441272

  • SHA256

    26459555ede3d63618aea53dad29b000e26f9bb13304b4a446f9ee167f78a8fc

  • SHA512

    28361092add39da688172d7d25c4b00150af33ee0636031aa3023d7475c7649bbfa3ab0ea5298cef977497c66bc80a1d8f9418c690fdcf97c1df2c15578dc2ac

  • SSDEEP

    3072:fBW5Cc85YwVButS8rZuc7icDaCHcwIlzXJa1eGE6JMSrXGUNuIycfr/Y4XdDtwBx:ZWvxwTOicS1/DFSLZuIx/Y4tRAwe4

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 7 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 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.

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rkbpooih\
      2⤵
        PID:936
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mcyniayg.exe" C:\Windows\SysWOW64\rkbpooih\
        2⤵
          PID:892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rkbpooih binPath= "C:\Windows\SysWOW64\rkbpooih\mcyniayg.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rkbpooih "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rkbpooih
          2⤵
          • Launches sc.exe
          PID:472
        • 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:832
      • C:\Windows\SysWOW64\rkbpooih\mcyniayg.exe
        C:\Windows\SysWOW64\rkbpooih\mcyniayg.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:528
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1392
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1284

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        e026383c088ed94408df28aa64bedfaa

        SHA1

        3aebaecdbf4005daff6a85042c34ccfba9d4015d

        SHA256

        0a9a1ca6ae88d0b7bc7c173dfe2a002cc8af53d794a6e174394075e21a0ff948

        SHA512

        80e96a6e0d8083ee9bd1266e18bf9c97f9c52f8bff98dee5801caca457374c20f352c41976043ce535c0fe145406eecdf20cbcd9881aa0efae9fc31ffefbc4a4

      • C:\Windows\SysWOW64\rkbpooih\mcyniayg.exe

        Filesize

        13.9MB

        MD5

        e026383c088ed94408df28aa64bedfaa

        SHA1

        3aebaecdbf4005daff6a85042c34ccfba9d4015d

        SHA256

        0a9a1ca6ae88d0b7bc7c173dfe2a002cc8af53d794a6e174394075e21a0ff948

        SHA512

        80e96a6e0d8083ee9bd1266e18bf9c97f9c52f8bff98dee5801caca457374c20f352c41976043ce535c0fe145406eecdf20cbcd9881aa0efae9fc31ffefbc4a4

      • memory/528-67-0x0000000000400000-0x00000000007FD000-memory.dmp

        Filesize

        4.0MB

      • memory/1284-110-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-123-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-122-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-121-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-120-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-118-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-119-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1284-111-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1392-88-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-94-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-74-0x0000000001990000-0x0000000001B9F000-memory.dmp

        Filesize

        2.1MB

      • memory/1392-78-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-81-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-82-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-83-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-84-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-85-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-86-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-87-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-124-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1392-89-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-90-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-91-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-92-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-93-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-75-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/1392-95-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-96-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-97-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/1392-98-0x0000000000130000-0x0000000000135000-memory.dmp

        Filesize

        20KB

      • memory/1392-101-0x0000000000130000-0x0000000000135000-memory.dmp

        Filesize

        20KB

      • memory/1392-102-0x0000000005420000-0x000000000582B000-memory.dmp

        Filesize

        4.0MB

      • memory/1392-105-0x0000000005420000-0x000000000582B000-memory.dmp

        Filesize

        4.0MB

      • memory/1392-106-0x0000000000300000-0x0000000000307000-memory.dmp

        Filesize

        28KB

      • memory/1392-71-0x0000000001990000-0x0000000001B9F000-memory.dmp

        Filesize

        2.1MB

      • memory/1392-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1392-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1392-66-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1392-63-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1392-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1392-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1408-59-0x0000000000400000-0x00000000007FD000-memory.dmp

        Filesize

        4.0MB

      • memory/1408-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB