Junte-se a nós no SASE Summit da Netskope, chegando a uma cidade perto de você! Registre-se agora.

  • Produtos de Serviço de Segurança Edge

    Proteger-se contra ameaças avançadas e com nuvens e salvaguardar os dados em todos os vetores.

  • Borderless SD-WAN

    Confidentemente, proporcionar acesso seguro e de alto desempenho a cada usuário remoto, dispositivo, site, e nuvem.

  • Plataforma

    Visibilidade incomparável e proteção de dados e contra ameaças em tempo real na maior nuvem privada de segurança do mundo.

A plataforma do futuro é a Netskope

Intelligent Security Service Edge (SSE), Cloud Access Security Broker (CASB), Cloud Firewall, Next Generation Secure Web Gateway (SWG) e Private Access for ZTNA integrados nativamente em uma única solução para ajudar todas as empresas em sua jornada para o Secure Access Service Arquitetura de borda (SASE).

Vá para a plataforma
Vídeo da Netskope
Borderless SD-WAN: Desbravando na Nova Era da Empresa Sem Fronteiras

Netskope Borderless SD-WAN oferece uma arquitetura que converge princípios de confiança zero e desempenho de aplicativo garantido para fornecer conectividade segura e de alto desempenho sem precedentes para cada site, nuvem, usuário remoto e dispositivo IoT.

Read the article
Borderless SD-WAN
A Netskope oferece uma pilha de segurança na nuvem moderna, com capacidade unificada para proteção de dados e ameaças, além de acesso privado seguro.

Explore a nossa plataforma
Birds eye view metropolitan city
Mude para serviços de segurança na nuvem líderes de mercado com latência mínima e alta confiabilidade.

Conheça a NewEdge
Lighted highway through mountainside switchbacks
Permita com segurança o uso de aplicativos generativos de IA com controle de acesso a aplicativos, treinamento de usuários em tempo real e a melhor proteção de dados da categoria.

Saiba como protegemos o uso de IA generativa
Safely Enable ChatGPT and Generative AI
Soluções de zero trust para a implementação de SSE e SASE

Learn about Zero Trust
Boat driving through open sea
A Netskope permite uma jornada segura, inteligente e rápida para a adoção de serviços em nuvem, aplicações e infraestrutura de nuvem pública.

Learn about Industry Solutions
Wind turbines along cliffside
  • Nossos clientes

    Netskope atende a mais de 2.000 clientes em todo o mundo, incluindo mais de 25 dos 100 da Fortune.

  • Customer Solutions

    Estamos aqui junto com você a cada passo da sua trajetória, assegurando seu sucesso com a Netskope.

  • Treinamento e certificação

    Os treinamentos da Netskope vão ajudar você a ser um especialista em segurança na nuvem.

Ajudamos nossos clientes a estarem prontos para tudo

Ver nossos clientes
Woman smiling with glasses looking out window
A talentosa e experiente equipe de Serviços Profissionais da Netskope fornece uma abordagem prescritiva para sua implementação bem sucedida.

Learn about Professional Services
Netskope Professional Services
Proteja sua jornada de transformação digital e aproveite ao máximo seus aplicativos de nuvem, web e privados com o treinamento da Netskope.

Learn about Training and Certifications
Group of young professionals working
  • Recursos

    Saiba mais sobre como a Netskope pode ajudá-lo a proteger sua jornada para a nuvem.

  • Blog

    Saiba como a Netskope viabiliza a segurança e a transformação de redes através do security service edge (SSE).

  • Eventos e workshops

    Esteja atualizado sobre as últimas tendências de segurança e conecte-se com seus pares.

  • Security Defined

    Tudo o que você precisa saber em nossa enciclopédia de segurança cibernética.

Podcast Security Visionaries

Bônus Episódio 2: O Quadrante Mágico para SSE e como acertar o SASE
Mike e Steve discutem o Gartner® Magic Quadrant™ para Security Service Edge (SSE), o posicionamento da Netskope e como o clima econômico atual afetará a jornada do SASE.

Reproduzir o podcast
Bônus Episódio 2: O Quadrante Mágico para SSE e como acertar o SASE
Últimos blogs

Como a Netskope pode habilitar a jornada Zero Trust e SASE por meio dos recursos de borda de serviço de segurança (SSE).

Leia o Blog
Sunrise and cloudy sky
Netskope AWS Immersion Day World Tour 2023

A Netskope desenvolveu uma variedade de laboratórios práticos, workshops, webinars detalhados e demonstrações para educar e auxiliar os clientes da AWS no uso e implantação dos produtos Netskope.

Learn about AWS Immersion Day
Parceiro da AWS
O que é o Security Service Edge?

Explore o lado de segurança de SASE, o futuro da rede e proteção na nuvem.

Learn about Security Service Edge
Four-way roundabout
  • Empresa

    Ajudamos você a antecipar os desafios da nuvem, dos dados e da segurança da rede.

  • Por que Netskope

    A transformação da nuvem e o trabalho em qualquer lugar mudaram a forma como a segurança precisa funcionar.

  • Liderança

    Nossa equipe de liderança está fortemente comprometida em fazer tudo o que for preciso para tornar nossos clientes bem-sucedidos.

  • Parceiros

    Fazemos parceria com líderes de segurança para ajudá-lo a proteger sua jornada para a nuvem.

Apoiando a sustentabilidade por meio da segurança de dados

A Netskope tem o orgulho de participar da Visão 2045: uma iniciativa destinada a aumentar a conscientização sobre o papel da indústria privada na sustentabilidade.

Saiba mais
Supporting Sustainability Through Data Security
O mais alto nível de Execução. A Visão mais avançada.

A Netskope foi reconhecida como Líder no Magic Quadrant™ do Gartner® de 2023 para SSE.

Obtenha o Relatório
A Netskope foi reconhecida como Líder no Magic Quadrant™ do Gartner® de 2023 para SSE.
Pensadores, construtores, sonhadores, inovadores. Juntos, fornecemos soluções de segurança na nuvem de última geração para ajudar nossos clientes a proteger seus dados e seu pessoal.

Conheça nossa equipe
Group of hikers scaling a snowy mountain
A estratégia de comercialização da Netskope, focada em Parcerias, permite que nossos Parceiros maximizem seu crescimento e lucratividade enquanto transformam a segurança corporativa.

Learn about Netskope Partners
Group of diverse young professionals smiling

SLUB’s the Word: Covert CnC over Slack

May 08 2019
Tags
Netskope Threat Research Labs
Slack Security

In this post, we provide details of the SLUB backdoor, how it uses SaaS apps including Slack as a command and control channel, and how CASB controls can prevent this and similar threats from affecting the enterprise. For traditional firewalls and even for next-gen firewalls and intrusion detection/prevention systems, attacks like these are extremely insidious since they leverage allow listed services in a malicious way. Many enterprises use Slack day-to-day, and so an attack using a “known good” service may go undetected.

What is SLUB?

SLUB (SLack and GitHUB) is a backdoor, discovered and reported on by Cedric Pernet, Daniel Lunghi, Jaromir Horejsi, and Joseph C. Chen at Trend Micro. The malware was spread via a watering hole attack which exploited CVE-2018-8174. A downloader then retrieved the SLUB backdoor and executed it by exploiting CVE-2015-1701, a vulnerability in the Windows operating system which provided SYSTEM-level privileges. Trend concluded that this was likely the work of an advanced persistent threat actor due to the sophistication of both the attack vector and the malware.

The malware is notable for its ability to evade traditional network intrusion detection systems by leveraging common SaaS applications such as Slack, Github, and File.io.

What are its capabilities?

The SLUB backdoor maintains persistence by setting a registry key named “Microsoft Setup Initializazion” (yes, the spelling of initialization is incorrect in the file) in SOFTWARE\Microsoft\Windows\CurrentVersion\Run, naming itself “Windows-RT-KB2937636.dll”. It uses the rundll32 application to execute the main program logic, which is contained in the “UpdateMPUnits” function.

The malware has a suite of functions that are run based on the contents of a GitHub gist which it retrieves through use of the statically-linked Curl library. It then uses the Boost library (also statically linked) to parse the commands from the Github gist.

When the malware “wakes up”, it will make its initial call out to an attacker-controlled Slack workspace with the victim’s computer name and username. This same Slack workspace is used for posting the responses and results of every command received via the Github gist, using Curl and the statically-linked JsonCpp library. This is a critical channel for the attacker since it gives them a pulse on the infected machines, allowing them to keep inventory, have an idea of whether or not their commands are successful, and when querying for information, Slack is the lifeline which provides it back to them.

File uploads also rely on the curl library and are sent to an attacker-controlled bucket on file.io.

Figure 1 – disassembly showing Slack token.

exec – Execute instruction

Leverages cmd.exe to run instructions on the target system. It will write a log file of the format “%ws\%u_cmd_out.tmp” during execution where output is written, as well as a similarly named .dat file in some cases. The files are deleted at the end of the command execution and a message indicating success or failure is posted to the attacker’s Slack workspace.

dnexec – Download and execute

Here, a file is downloaded and executed using CreateProcessW. If the process fails to run or once the thread has completed execution, the file is deleted and a message is posted to the attacker’s Slack workspace.

update – Download a file, run it, and delete the old file

This functionality “updates” a file, by downloading a new attacker-specified file, deleting the old version, and running the new file. A message indicating completion or failure is posted to the attacker’s Slack workspace.

destroy – Cover your tracks

When SLUB receives the destroy command, it will move to cover its tracks. Through a series of commands, it will remove any trace of itself from the user’s system, deleting the registry key and the dll that serves as the main program logic. When initiated, a message is posted in the Slack workspace identifying the machine and user which will have the malware deleted.

file – Exfiltrate files

This is the main use of File.io and one of the noteworthy uses of Slack in the SLUB backdoor. The files are uploaded to File.io via Curl and the REST API. In an effort to evade traditional IDS/IPS, SLUB uses Curl to interact with the Slack “postMessages” API and an embedded token to conduct file operations, sending the file link to one of a number of channels (“dailynews” and “fallback” are two of the embedded channel names) in the same attacker-controlled workspace.

capture – Screen capture

The Capture feature of the SLUB backdoor will capture an image of the current screen or of the active window. The screenshot is uploaded to file.io and a link to the file is posted in the Slack workspace.

dir – Directory operations

Directory operations creates, moves, and deletes specified directories from the victim system. Upon completion or failure, the directory name and status are posted to the attacker’s Slack workspace.

proc – Process operations

The process operations suite of commands allows for the listing and termination of Processes. For listing, the list of processes along with the victim’s computer name are posted to the attacker’s Slack workspace. For termination, the success or failure is posted to the attacker’s Slack workspace.

drive – Drive operations

Collects information about the victim’s drive including listing files, collecting sevice ID, aerial number, free space, total size, volume name, journal info, drive type, whether or not encryption is used, and extended attributes. All of this information, along with the victim’s computer name are posted to Slack upon successful completion of the operation.

reg – Registry operations

Interestingly – SLUB features several registry operations. This is notable since many times, malware either does not include this functionality, or it is not explicitly available as a command, since it could be accessed through something like the exec command. In this case, the malware authors very specifically implemented methods to interact with the registry. The reg command set maps out the registry and provides attackers the option to query, modify, read, and write arbitrary registry entries. Success or failure status are posted to the attacker’s Slack workspace.

tmout – Sleep

Tmout will put the malware to sleep for some attacker-provided number of seconds.

Conclusion

As Trend Micro noted in their reporting on this same malware, the use of multiple cloud services by a single piece of malware is unique, but based on the cloud use cases that we at Netskope are familiar with, we expect this trend to grow, particularly since traditional, non-CASB methods used for defending networks are ineffective against these attacks. So far, we have not seen any SLUB samples other than the one that was investigated by Trend Micro, and continue to monitor our telemetry for similar command and control vectors.

As attackers evolve, they will continue to find new ways to evade the detections that their would-be victims put in place. Detecting these evasions will prove difficult for traditional network-based methods and will instead require application-layer detections and use of machine learning techniques to prevent. Netskope can mitigate the use of Slack as a command and control channel via our CASB solution which detects connections to unsanctioned workspaces. Our machine learning and anomaly detection system can also flag unusual use of SaaS services. Abuse of SaaS applications in this way will continue to be of interest to the Netskope Threat Research Labs. As we find new or similar samples, we will report them here on the Netskope blog.

General Recommendations

  • Always keep browsers fully patched and up-to-date. Watering hole attacks are notoriously difficult to mitigate, especially for unpatched or out-of-date browsers.
  • Detect and remediate cloud threats using a threat-aware CASB solution like Netskope and enforce policy on usage of unsanctioned services as well as unsanctioned instances of sanctioned cloud services

Netskope Detection

If a connection to an unauthorized Slack workspace is attempted by the malware, Netskope can alert you or block the connection entirely through the use of the inline CASB connector. If the session is blocked or an alert is generated, information about the attempt will be found in the SkopeIT application events.

Figure 2 SkopeIT event