当前位置:网站首页>[try to hack] cobalt strike (I)
[try to hack] cobalt strike (I)
2022-06-28 20:29:00 【Happy star】
Blog home page : Happy star The blog home page of
Series column :Try to Hack
Welcome to focus on the likes collection ️ Leaving a message.
Starting time :2022 year 6 month 28 Japan
The author's level is very limited , If an error is found , Please let me know , thank !
https://www.bilibili.com/video/BV1Zr4y137bW
Navigation assistant
CS Introduction and installation
Cobalt Strike It's a penetration test artifact ,Cobalt Strike No longer in use MSF But as a separate platform , It is divided into client and server , The server is a , The client can have multiple , It can be used by the team for distributed cooperative operation .
function :CS Integrated port forwarding 、 Service scan , Automatic overflow , Multimode port monitoring ,win exe Trojans generate ,win dll Trojans generate ,java Trojans generate ,office Macro virus generation , Horse binding ; Fishing attacks include : Site cloning , Target information acquisition ,java perform , Browser auto attack and so on .
Early versions Cobalt Srtike rely on Metasploit frame , And now Cobalt Strike No longer in use MSF But as a separate platform .
The community version of this tool is well known Armitage( One MSF Graphical interface tools ), and Cobalt Strike You can understand it as Armitage Commercial version of .
Different versions CS The directory structure is different , What I use here is 4.3
cobaltstrike Download link 
Because of startup Cobalt Strike need JDK Support for , So you need to install Java Environmental Science .
kaili By default, it will be installed java Environmental Science java --version
If not, install it
install jdk11
apt-get update
apt-get install openjdk-11-jdk
set default java Program
update-java-alternatives -s java-1.11.0-openjdk-amd64
CS start-up
Start server
The team server is best run on Linux On the platform
└─# ./teamserver
[*] Will use existing X509 certificate and keystore (for SSL)
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
[*] ./teamserver <host> <password> [/path/to/c2.profile] [YYYY-MM-DD]
<host> is the (default) IP address of this Cobalt Strike team server
<password> is the shared password to connect to this server
[/path/to/c2.profile] is your Malleable C2 profile
[YYYY-MM-DD] is a kill date for Beacon payloads run from this server
chmod +x teamserver // When teamserver When you don't have execute permission , Run the command ./teamserver 192.168.88.132 123456
The default connection port of the team server is 50050
Start client
Linux:./cobaltstrike or java -XX:+AggressiveHeap -XX:+UseParallelGC -jar cobaltstrike.jar
Windows: double-click cobaltstrike.exe
windows
host It's the server side IP Address
port The default open port of the server is 50050
user Customize a user name
password It is the password when opening the server

The first connection will appear hash check , there hash It's equal to the previous startup teamserver At the time of the hash, Just click ‘ yes ’ Connect to the team server .
CS Add listener


Monitor type 
beacon x The series is Cobalt Strike Oneself , Include dns,http,https,smb Four ways of listening
foreign Series is an external listener usually associated with MSF perhaps Armitagel linkage
CS Create a Trojan


Choose a monitor 
You can also generate dll Type of Trojan 
We choose EXE
Generate
Choose a save path
The victim double clicked the exe Program , Can be in CS The client is online
CS Generate office Macro file phishing


After selecting a listener ,Generate
open word(WPS no way ), Create a new blank document 
【 View 】-> 【 macro 】
create 
Ctrl+S preservation 
Victim opens file , That is to say CS The client is online

CS Clone website


clone url For the target site 
visit 
After entering content , Or jump to the real Baidu 
边栏推荐
- Past blue bridge cup test questions ants catch cold
- ROS中quaternion四元数和欧拉角转换
- QSP read label configuration error
- Lucene构建索引的原理及源代码分析
- 【Go语言刷题篇】Go从0到入门5:Map综合复习、条件语句、循环语句练习
- Day88.七牛云: 房源图片、用户头像上传
- Software supply chain security risk guide for enterprise digitalization and it executives
- Head, tail view file
- Leetcode 36. Effective Sudoku (yes, once)
- Why does next() in iterator need to be forcibly converted?
猜你喜欢

Win 10 create a gin framework project

with torch.no_grad():的使用原因

Shell reads the value of the JSON file

Lucene构建索引的原理及源代码分析
How to recover after Oracle delete accidentally deletes table data

学习太极创客 — MQTT 第二章(八)ESP8266 MQTT 用户密码认证

如何使用 DataAnt 监控 Apache APISIX

还在付费下论文吗?快来跟我一起白piao知网

SQL server2019 create a new SQL server authentication user name and log in

2022 tea master (intermediate) examination simulated 100 questions and simulated examination
随机推荐
基于 Apache APISIX 的自动化运维平台
Severity code description project file line suppress status error lnk2038 detected a mismatch of "runtimelibrary": the value "md\u dynamicrelease" does not match the value "mdd\u dynamicde"
RT-Thread线程同步与线程通信
No module named ‘PyEMD‘ ; Use plt figure()TypeError: ‘module‘ object is not callable
2837. The total number of teams
Software supply chain security risk guide for enterprise digitalization and it executives
请允许当下国内ToB的「不完美」
ThreadLocal principle
head、tail查看文件
3. integrate listener
Leetcode week 299
Bluecmsv1.6 code audit
Configuration du mode tcwind
Troubleshooting of pyinstaller failed to pack pikepdf
社招两年半10个公司28轮面试面经
Lucene构建索引的原理及源代码分析
[learning notes] Introduction to principal component analysis
QSP read label configuration error
2022 t elevator repair test question bank simulation test platform operation
Input and output real data