ANDROID 黑科技 : 保活机制深度逆向

news2026/5/6 21:36:25
在 Android 逆向与安全防护的博弈中进程保活Keep-Alive始终是一个充满争议且技术密集的话题。随着 Android 系统的迭代从早期的1 像素 Activity、JobScheduler到后来的各种同步账号机制系统对后台进程的容忍度越来越低。本文将以某头部大厂 APP 中的保活模块libundead_native_ability_q.so为例深度剖析其在 Android 10 (API 29及以上) 环境下如何利用 C/C 层的双重 Fork 逃逸、Flock 文件锁监控以及纯 Native 层的 Binder 穿透技术实现高隐蔽性、高存活率的“不死”机制。0x01 Java 层切入寻根溯源通过对 APK 的初步分析我们定位到核心的保活入口位于包com.bytedance.platform.ka下。针对高版本 Android 系统应用采用了分层策略其中针对 Android 10 的核心类为KaAbilityQ。查看其反编译代码package com.bytedance.platform.ka.ability.q.KaAbilityQ; public class KaAbilityQ extends 09xQ implements 09xS { // 指定加载的 SO 库名称 public void KaAbilityQ(Application p0, 09xO p1){ super(p0, p1); this.LIZLLL undead_native_ability_q; } // 核心 JNI 方法声明 private native int doKaOnNative(IBinder p0, long[] p1, String p2, long p3, String p4, String p5, String p6, String p7, String p8, boolean p9, String p10, String p11, int p12, int p13); // JAVA 调用接口 public final int LIZ(IBinder p0,long[] p1,String p2,long p3,String p4,String p5,String p6,String p7,String p8,boolean p9,String p10,String p11,int p12,int p13){ this.LIZIZ(); if (this.LIZJ ! null) { UnDeadLog.d(KaAbilityQ, library load success,invoke doKaOnNative); return this.doKaOnNative(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13); }else { UnDeadLog.e(KaAbilityQ, library load failed,not doKA); return -1; } } }从这里可以看出Java 层主要负责环境准备和参数收集如当前进程名、各种开关 Flag真正的硬核逻辑全部通过doKaOnNative交给了libundead_native_ability_q.so处理。在 ServiceImpl 的 LIZIZ 函数中进行了参数初始化并调用了 LIZ 函数。ServiceImpl platform serviceImpl.platform; IBinder binder serviceImpl.o.getBinder(); ServiceImpl g serviceImpl.g; ServiceImpl mInstrConfig serviceImpl.mInstrConfig; mInstrConfig.getClass(); String str4 StringBuilderCache.release(StringBuilderCache.get() mInstrConfig.LJI() /enable.flag); mInstrConfig serviceImpl.mInstrConfig; mInstrConfig.getClass(); String str5 StringBuilderCache.release(StringBuilderCache.get() mInstrConfig.LJI() /top.flag); mInstrConfig serviceImpl.mInstrConfig; mInstrConfig.getClass(); StringBuilderCache.release(StringBuilderCache.get() mInstrConfig.LJI() /mcomm); if ((iKADepend serviceImpl.mInstrConfig.LIZ()) ! null) { daemonProces iKADepend.getDaemonProcessName(); if (!TextUtils.isEmpty(daemonProces)) { String packageName serviceImpl.mInstrConfig.LIZIZ.getPackageName(); b serviceImpl.mIKADepend.useNativeMode(); if ((config1 serviceImpl.mInstrConfig.LIZ.getConfig(instr)) ! null !config1.isEmpty()) { str config1; } int i1 platform.LJ.LIZ(binder, g, str1, l2, str4, str5, p1, daemonProces, packageName, b, str, ToolUtils.LJIIIZ(platform.LIZ), startInstrum, serviceImpl.mIKADepend.transactFlags()); } }0x02 Native 层核心对抗逻辑剖析将 SO 拖入 IDA Pro 进行分析定位到导出函数Java_com_bytedance_platform_ka_ability_q_KaAbilityQ_doKaOnNative内部调用了真实的实现逻辑do_ka。该 SO 的核心保活流转经历了三个精妙的阶段1. 进程树逃逸Double Fork 机制为了防止系统在杀死主应用时顺藤摸瓜将子进程“一锅端”该组件在 Native 层实现了经典的 Double Fork 逃逸signal(17, (__sighandler_t)((char * ) dword_0 1)); v27 fork(); if (!v27) { if (a3) { v28 _JNIEnv - functions - GetLongArrayElements(_JNIEnv, a3, 0 LL); v29 v28; if (v28 * v28 v28[1]) { v30 ((__int64( * )(void)) * v28)(); ((void(__fastcall * )(__int64, const char * )) v29[1])(v30, v46); } v31 inited; prctl(PR_SET_NAME, v46, 0 LL, 0 LL, 0 LL); if (fork()) goto LABEL_42; } else { v31 inited; v29 0 LL; if (fork()) goto LABEL_42; } // ... LABEL_42: _exit(0); }主进程调用fork()创建子进程 1。子进程 1立即再次调用fork()创建孙子进程即未来的守护进程。子进程 1随即调用_exit(0)主动退出。孙子进程由于生父死亡瞬间变为孤儿进程被系统的init进程PID 为 1接管成功脱离原 APP 的进程组Process Group。注与部分保活方案使用 Pipe 管道阻塞监控不同这里脱离进程树是为了避免被 ActivityManagerService (AMS) 的ProcessRecord.kill()连坐查杀。2. 状态嗅探Flock 文件锁无级监听脱离进程组后守护进程需要一种极低功耗的方式来感知主进程的生死。轮询/proc/目录显然太耗电且容易被查杀。while (1) { fd_2 open(file, O_RDWR | O_CREAT, 432 LL); if (fd_2 LOCK_SH) { fd fd_2; if (flock(fd_2, (ENUM_LOCK) 6) 0) { v34 close(fd); if ( * (_DWORD * ) __errno(v34) 11) { stream_1 fopen(filename, rw); if (stream_1) { stream stream_1; remove(filename); fclose(stream); fflush(stream); } fd_1 open(file, O_RDWR | O_CREAT, 432 LL); if (fd_1 LOCK_SH) flock(fd_1, LOCK_EX); if (a5) { if (gettimeofday( tv, 0 LL)) v38 1; else v38 1000 * tv.tv_sec tv.tv_usec / 0x3E8 uLL a5; } else { v38 0; } v39 access(name, F_OK); v40 access(name_1, F_OK); if (!v38 !v39 v40) { if (!a11) return 0; start_instr(); } LABEL_42: _exit(0); } } else { flock(fd, LOCK_UN); close(fd); } } usleep(0x3D0900 u); }该组件巧妙地利用了 Linux 的flock(File Lock) 机制主应用在启动时对一个特定的本地文件如.ka_monitor进行加锁 (LOCK_EX)。守护进程在其死循环中尝试对同一个文件进行flock。由于互斥锁的存在守护进程会被内核挂起阻塞或者usleep轮询不占用 CPU 资源。一旦主进程被系统 Kill (OOM 或用户划掉)Linux 内核会强制回收主进程持有的所有文件句柄该文件锁被瞬间释放。守护进程的flock立刻返回成功从而精准捕获主进程的死亡事件。3. 破土重生纯 C 构造 Parcel 与 Binder 穿透这是该方案最为硬核的部分。当守护进程发现主进程死亡后如果通过常规的am start命令行去拉起不仅速度慢而且极易被高版本 Android 的后台拦截机制阻断。逆向伪代码显示该 SO 直接引入了 NDK 的AIBinderAPI徒手拼接底层 IPC 数据包Parcel__int64 __fastcall init_instr_internal(__int64 kaAbility,const char * s,const char * s_1,const char * s_2,int a5,int a6) { unsigned int v12; // w22 unsigned int DataPosition; // w24 unsigned int DataPosition_1; // w23 if ((unsigned int) AIBinder_prepareTransaction(kaAbility, ::DataPosition)) { return 0; } else { v12 1; AParcel_writeInt32(); strlen(s); AParcel_writeString(); strlen(s_1); AParcel_writeString(); AParcel_writeString(); AParcel_writeInt32(); AParcel_writeInt32(); DataPosition AParcel_getDataPosition(::DataPosition); AParcel_writeInt32(); AParcel_writeInt32(); AParcel_getDataPosition(::DataPosition); AParcel_writeInt32(); __strlen_chk(instrumentation_type, 0x15 uLL); AParcel_writeString(); AParcel_writeInt32(); __strlen_chk(instrumentation_type_ka, 0x18 uLL); AParcel_writeString(); __strlen_chk(source_process, 0xF uLL); AParcel_writeString(); AParcel_writeInt32(); strlen(s_2); AParcel_writeString(); __strlen_chk(use_native_mode, 0x10 uLL); AParcel_writeString(); AParcel_writeInt32(); AParcel_writeInt32(); DataPosition_1 AParcel_getDataPosition(::DataPosition); AParcel_setDataPosition(::DataPosition, DataPosition); AParcel_writeInt32(); AParcel_setDataPosition(::DataPosition, DataPosition_1); AParcel_writeStrongBinder(::DataPosition, 0 LL); AParcel_writeStrongBinder(::DataPosition, 0 LL); AParcel_writeInt32(); AParcel_writeString(); dword_410C0 a5; unk_410C4 a6;::kaAbility kaAbility; byte_410D8 1; } return v12; }bool start_instr(void) { return byte_410D8 (unsigned int)AIBinder_transact(kaAbility, (unsigned int)dword_410C0, DataPosition) 0; }守护进程提前在内存中组装好了一通向ActivityManagerService发送startInstrumentation事务的 Parcel 包。触发时直接调用AIBinder_transact将伪造的请求发给 AMS。系统接收到请求后会主动分配进程资源拉起该 APP 注册的自定义Instrumentation。应用随之在callApplicationOnCreate中完成复苏。0x03 调用链分析守护进程通过AIBinder_transact向 AMS 发起startInstrumentation请求其底层完整的调用链涉及客户端 Binder 代理与服务端实现两个关键环节。客户端代理实现android.app.IActivityManager的 Stub 代理服务端真实处理ActivityManagerService.javapublic boolean startInstrumentation(ComponentName className, String profileFile, int flags, Bundle arguments, IInstrumentationWatcher watcher, IUiAutomationConnection uiAutomationConnection, int userId, String abiOverride) { enforceNotIsolatedCaller(startInstrumentation); final int callingUid Binder.getCallingUid(); final int callingPid Binder.getCallingPid(); userId mUserController.handleIncomingUser(callingPid, callingUid, userId, false, ALLOW_FULL_ONLY, startInstrumentation, null); // Refuse possible leaked file descriptors if (arguments ! null arguments.hasFileDescriptors()) { throw new IllegalArgumentException(File descriptors passed in Bundle); } final IPackageManager pm AppGlobals.getPackageManager(); synchronized(this) { InstrumentationInfo ii null; ApplicationInfo ai null; boolean noRestart (flags INSTR_FLAG_NO_RESTART) ! 0; try { ii pm.getInstrumentationInfoAsUser(className, STOCK_PM_FLAGS, userId); if (ii null) { reportStartInstrumentationFailureLocked(watcher, className, Unable to find instrumentation info for: className); return false; } ai pm.getApplicationInfo(ii.targetPackage, STOCK_PM_FLAGS, userId); if (ai null) { reportStartInstrumentationFailureLocked(watcher, className, Unable to find instrumentation target package: ii.targetPackage); return false; } } catch (RemoteException e) { } if (ii.targetPackage.equals(android)) { if (!noRestart) { reportStartInstrumentationFailureLocked(watcher, className, Cannot instrument system server without no-restart); return false; } } else if (!ai.hasCode()) { reportStartInstrumentationFailureLocked(watcher, className, Instrumentation target has no code: ii.targetPackage); return false; } int match SIGNATURE_NO_MATCH; try { match pm.checkSignatures(ii.targetPackage, ii.packageName, userId); } catch (RemoteException e) { } if (match 0 match ! PackageManager.SIGNATURE_FIRST_NOT_SIGNED) { if (Build.IS_DEBUGGABLE (callingUid Process.ROOT_UID) (flags INSTR_FLAG_ALWAYS_CHECK_SIGNATURE) 0) { Slog.w(TAG, Instrumentation test ii.packageName doesnt have a signature matching the target ii.targetPackage , which would not be allowed on the production Android builds); } else { String msg Permission Denial: starting instrumentation className from pid Binder.getCallingPid() , uid Binder.getCallingUid() not allowed because package ii.packageName does not have a signature matching the target ii.targetPackage; reportStartInstrumentationFailureLocked(watcher, className, msg); throw new SecurityException(msg); } } if (!Build.IS_DEBUGGABLE callingUid ! ROOT_UID callingUid ! SHELL_UID callingUid ! SYSTEM_UID !hasActiveInstrumentationLocked(callingPid)) { // If its not debug build and not called from root/shell/system uid, reject it. final String msg Permission Denial: instrumentation test className from pid callingPid , uid callingUid , pkgName mInternal.getPackageNameByPid(callingPid) not allowed because its not started from SHELL; Slog.wtfQuiet(TAG, msg); reportStartInstrumentationFailureLocked(watcher, className, msg); throw new SecurityException(msg); } boolean disableHiddenApiChecks ai.usesNonSdkApi() || (flags INSTR_FLAG_DISABLE_HIDDEN_API_CHECKS) ! 0; boolean disableTestApiChecks disableHiddenApiChecks || (flags INSTR_FLAG_DISABLE_TEST_API_CHECKS) ! 0; if (disableHiddenApiChecks || disableTestApiChecks) { enforceCallingPermission(android.Manifest.permission.DISABLE_HIDDEN_API_CHECKS, disable hidden API checks); } if ((flags ActivityManager.INSTR_FLAG_INSTRUMENT_SDK_SANDBOX) ! 0) { return startInstrumentationOfSdkSandbox( className, profileFile, arguments, watcher, uiAutomationConnection, userId, abiOverride, ii, ai, noRestart, disableHiddenApiChecks, disableTestApiChecks, (flags ActivityManager.INSTR_FLAG_INSTRUMENT_SDK_IN_SANDBOX) ! 0); } ActiveInstrumentation activeInstr new ActiveInstrumentation(this); activeInstr.mClass className; String defProcess ai.processName;; if (ii.targetProcesses null) { activeInstr.mTargetProcesses new String[]{ai.processName}; } else if (ii.targetProcesses.equals(*)) { activeInstr.mTargetProcesses new String[0]; } else { activeInstr.mTargetProcesses ii.targetProcesses.split(,); defProcess activeInstr.mTargetProcesses[0]; } activeInstr.mTargetInfo ai; activeInstr.mProfileFile profileFile; activeInstr.mArguments arguments; activeInstr.mWatcher watcher; activeInstr.mUiAutomationConnection uiAutomationConnection; activeInstr.mResultClass className; activeInstr.mHasBackgroundActivityStartsPermission checkPermission( START_ACTIVITIES_FROM_BACKGROUND, callingPid, callingUid) PackageManager.PERMISSION_GRANTED; activeInstr.mHasBackgroundForegroundServiceStartsPermission checkPermission( START_FOREGROUND_SERVICES_FROM_BACKGROUND, callingPid, callingUid) PackageManager.PERMISSION_GRANTED; activeInstr.mNoRestart noRestart; final long origId Binder.clearCallingIdentity(); ProcessRecord app; synchronized (mProcLock) { if (noRestart) { app getProcessRecordLocked(ai.processName, ai.uid); } else { // Instrumentation can kill and relaunch even persistent processes forceStopPackageLocked(ii.targetPackage, -1, true, false, true, true, false, false, userId, start instr); // Inform usage stats to make the target package active if (mUsageStatsService ! null) { mUsageStatsService.reportEvent(ii.targetPackage, userId, UsageEvents.Event.SYSTEM_INTERACTION); } app addAppLocked(ai, defProcess, false, disableHiddenApiChecks, disableTestApiChecks, abiOverride, ZYGOTE_POLICY_FLAG_EMPTY); app.mProfile.addHostingComponentType(HOSTING_COMPONENT_TYPE_INSTRUMENTATION); } app.setActiveInstrumentation(activeInstr); activeInstr.mFinished false; activeInstr.mSourceUid callingUid; activeInstr.mRunningProcesses.add(app); if (!mActiveInstrumentation.contains(activeInstr)) { mActiveInstrumentation.add(activeInstr); } } if ((flags INSTR_FLAG_DISABLE_ISOLATED_STORAGE) ! 0) { // Allow OP_NO_ISOLATED_STORAGE app op for the package running instrumentation with // --no-isolated-storage flag. mAppOpsService.setMode(AppOpsManager.OP_NO_ISOLATED_STORAGE, ai.uid, ii.packageName, AppOpsManager.MODE_ALLOWED); } Binder.restoreCallingIdentity(origId); if (noRestart) { instrumentWithoutRestart(activeInstr, ai); } } return true; }以上两段代码完整展示了从客户端通过Binder事务码51发起startInstrumentation请求到服务端ActivityManagerService进行权限校验、签名匹配、进程强制停止或复用以及ActiveInstrumentation注册的完整流程。守护进程正是利用这一底层通道在主进程死亡后伪造合法请求触发 AMS 重新分配进程并拉起自定义Instrumentation从而实现隐蔽唤醒。0x04 总结该厂的保活方案代表了目前 Android 端企服/核心业务模块在进程驻留方面的一流水平。“Double Fork 逃避进程树监控 Flock 零功耗挂起 Native Binder 直接穿透 AMS”的组合拳巧妙绕过了 Java 层层层加码的系统限制。面对未来 API 36 (Android 16) 更加严苛的Foreground Service限制和广播冻结机制此类纯底层触发Instrumentation的方式是否还能如鱼得水系统是否会在内核层面切断非信任进程的 Binder 节点访问权这些都是非常值得持续跟进和逆向分析的研究方向。Override // android.app.IActivityManager public boolean startInstrumentation(ComponentName componentName, String str, int i, Bundle bundle, IInstrumentationWatcher iInstrumentationWatcher, IUiAutomationConnection iUiAutomationConnection, int i2, String str2) throws RemoteException { Parcel parcelObtain Parcel.obtain(asBinder()); Parcel parcelObtain2 Parcel.obtain(); try { parcelObtain.writeInterfaceToken(Stub.DESCRIPTOR); parcelObtain.writeTypedObject(componentName, 0); parcelObtain.writeString(str); parcelObtain.writeInt(i); parcelObtain.writeTypedObject(bundle, 0); parcelObtain.writeStrongInterface(iInstrumentationWatcher); parcelObtain.writeStrongInterface(iUiAutomationConnection); parcelObtain.writeInt(i2); parcelObtain.writeString(str2); this.mRemote.transact(51, parcelObtain, parcelObtain2, 0); parcelObtain2.readException(); return parcelObtain2.readBoolean(); } finally { parcelObtain2.recycle(); parcelObtain.recycle(); } }

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2527650.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

SpringBoot-17-MyBatis动态SQL标签之常用标签

文章目录 1 代码1.1 实体User.java1.2 接口UserMapper.java1.3 映射UserMapper.xml1.3.1 标签if1.3.2 标签if和where1.3.3 标签choose和when和otherwise1.4 UserController.java2 常用动态SQL标签2.1 标签set2.1.1 UserMapper.java2.1.2 UserMapper.xml2.1.3 UserController.ja…

wordpress后台更新后 前端没变化的解决方法

使用siteground主机的wordpress网站,会出现更新了网站内容和修改了php模板文件、js文件、css文件、图片文件后,网站没有变化的情况。 不熟悉siteground主机的新手,遇到这个问题,就很抓狂,明明是哪都没操作错误&#x…

网络编程(Modbus进阶)

思维导图 Modbus RTU(先学一点理论) 概念 Modbus RTU 是工业自动化领域 最广泛应用的串行通信协议,由 Modicon 公司(现施耐德电气)于 1979 年推出。它以 高效率、强健性、易实现的特点成为工业控制系统的通信标准。 包…

UE5 学习系列(二)用户操作界面及介绍

这篇博客是 UE5 学习系列博客的第二篇,在第一篇的基础上展开这篇内容。博客参考的 B 站视频资料和第一篇的链接如下: 【Note】:如果你已经完成安装等操作,可以只执行第一篇博客中 2. 新建一个空白游戏项目 章节操作,重…

IDEA运行Tomcat出现乱码问题解决汇总

最近正值期末周,有很多同学在写期末Java web作业时,运行tomcat出现乱码问题,经过多次解决与研究,我做了如下整理: 原因: IDEA本身编码与tomcat的编码与Windows编码不同导致,Windows 系统控制台…

利用最小二乘法找圆心和半径

#include <iostream> #include <vector> #include <cmath> #include <Eigen/Dense> // 需安装Eigen库用于矩阵运算 // 定义点结构 struct Point { double x, y; Point(double x_, double y_) : x(x_), y(y_) {} }; // 最小二乘法求圆心和半径 …

使用docker在3台服务器上搭建基于redis 6.x的一主两从三台均是哨兵模式

一、环境及版本说明 如果服务器已经安装了docker,则忽略此步骤,如果没有安装,则可以按照一下方式安装: 1. 在线安装(有互联网环境): 请看我这篇文章 传送阵>> 点我查看 2. 离线安装(内网环境):请看我这篇文章 传送阵>> 点我查看 说明&#xff1a;假设每台服务器已…

XML Group端口详解

在XML数据映射过程中&#xff0c;经常需要对数据进行分组聚合操作。例如&#xff0c;当处理包含多个物料明细的XML文件时&#xff0c;可能需要将相同物料号的明细归为一组&#xff0c;或对相同物料号的数量进行求和计算。传统实现方式通常需要编写脚本代码&#xff0c;增加了开…

LBE-LEX系列工业语音播放器|预警播报器|喇叭蜂鸣器的上位机配置操作说明

LBE-LEX系列工业语音播放器|预警播报器|喇叭蜂鸣器专为工业环境精心打造&#xff0c;完美适配AGV和无人叉车。同时&#xff0c;集成以太网与语音合成技术&#xff0c;为各类高级系统&#xff08;如MES、调度系统、库位管理、立库等&#xff09;提供高效便捷的语音交互体验。 L…

(LeetCode 每日一题) 3442. 奇偶频次间的最大差值 I (哈希、字符串)

题目&#xff1a;3442. 奇偶频次间的最大差值 I 思路 &#xff1a;哈希&#xff0c;时间复杂度0(n)。 用哈希表来记录每个字符串中字符的分布情况&#xff0c;哈希表这里用数组即可实现。 C版本&#xff1a; class Solution { public:int maxDifference(string s) {int a[26]…

【大模型RAG】拍照搜题技术架构速览:三层管道、两级检索、兜底大模型

摘要 拍照搜题系统采用“三层管道&#xff08;多模态 OCR → 语义检索 → 答案渲染&#xff09;、两级检索&#xff08;倒排 BM25 向量 HNSW&#xff09;并以大语言模型兜底”的整体框架&#xff1a; 多模态 OCR 层 将题目图片经过超分、去噪、倾斜校正后&#xff0c;分别用…

【Axure高保真原型】引导弹窗

今天和大家中分享引导弹窗的原型模板&#xff0c;载入页面后&#xff0c;会显示引导弹窗&#xff0c;适用于引导用户使用页面&#xff0c;点击完成后&#xff0c;会显示下一个引导弹窗&#xff0c;直至最后一个引导弹窗完成后进入首页。具体效果可以点击下方视频观看或打开下方…

接口测试中缓存处理策略

在接口测试中&#xff0c;缓存处理策略是一个关键环节&#xff0c;直接影响测试结果的准确性和可靠性。合理的缓存处理策略能够确保测试环境的一致性&#xff0c;避免因缓存数据导致的测试偏差。以下是接口测试中常见的缓存处理策略及其详细说明&#xff1a; 一、缓存处理的核…

龙虎榜——20250610

上证指数放量收阴线&#xff0c;个股多数下跌&#xff0c;盘中受消息影响大幅波动。 深证指数放量收阴线形成顶分型&#xff0c;指数短线有调整的需求&#xff0c;大概需要一两天。 2025年6月10日龙虎榜行业方向分析 1. 金融科技 代表标的&#xff1a;御银股份、雄帝科技 驱动…

观成科技:隐蔽隧道工具Ligolo-ng加密流量分析

1.工具介绍 Ligolo-ng是一款由go编写的高效隧道工具&#xff0c;该工具基于TUN接口实现其功能&#xff0c;利用反向TCP/TLS连接建立一条隐蔽的通信信道&#xff0c;支持使用Let’s Encrypt自动生成证书。Ligolo-ng的通信隐蔽性体现在其支持多种连接方式&#xff0c;适应复杂网…

铭豹扩展坞 USB转网口 突然无法识别解决方法

当 USB 转网口扩展坞在一台笔记本上无法识别,但在其他电脑上正常工作时,问题通常出在笔记本自身或其与扩展坞的兼容性上。以下是系统化的定位思路和排查步骤,帮助你快速找到故障原因: 背景: 一个M-pard(铭豹)扩展坞的网卡突然无法识别了,扩展出来的三个USB接口正常。…

未来机器人的大脑:如何用神经网络模拟器实现更智能的决策?

编辑&#xff1a;陈萍萍的公主一点人工一点智能 未来机器人的大脑&#xff1a;如何用神经网络模拟器实现更智能的决策&#xff1f;RWM通过双自回归机制有效解决了复合误差、部分可观测性和随机动力学等关键挑战&#xff0c;在不依赖领域特定归纳偏见的条件下实现了卓越的预测准…

Linux应用开发之网络套接字编程(实例篇)

服务端与客户端单连接 服务端代码 #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <pthread.h> …

华为云AI开发平台ModelArts

华为云ModelArts&#xff1a;重塑AI开发流程的“智能引擎”与“创新加速器”&#xff01; 在人工智能浪潮席卷全球的2025年&#xff0c;企业拥抱AI的意愿空前高涨&#xff0c;但技术门槛高、流程复杂、资源投入巨大的现实&#xff0c;却让许多创新构想止步于实验室。数据科学家…

深度学习在微纳光子学中的应用

深度学习在微纳光子学中的主要应用方向 深度学习与微纳光子学的结合主要集中在以下几个方向&#xff1a; 逆向设计 通过神经网络快速预测微纳结构的光学响应&#xff0c;替代传统耗时的数值模拟方法。例如设计超表面、光子晶体等结构。 特征提取与优化 从复杂的光学数据中自…