IDA Pro > IDA Pro教程 > 技术问题 > 2.2.2.IDA Pro安装服务器( Installing the server)

2.2.2.IDA Pro安装服务器( Installing the server)

发布时间:2022-10-15 15: 11: 32

  The Hex-Rays Vault server can be installed on Linux servers.We have tested it on Debian and Ubuntu,but other major

 flavors of Linux should be fine too.

 To install the server,run the Hex-Rays Vault installer as root and follow the instructions(the server will not require root

 permissions;only the installer does.)

 TIP If your Linux system is based on systemd(e.g.,Debian/Ubuntu,Red-Hat,CentOS,...),it is recommended to

 let the installer create systemd units so that the server will start automatically at the next reboot.

 Once the server is installed,it will be necessary to activate its license.

 Activating the server license

 In order for the Hex-Rays Vault server license to be activated,it must be bound to a Host ID(an Ethernet MAC address.)

 From a command prompt,run/sbin/ifconfig,and lookup the"ether"address for the network interface through which

 the server will be accessible.

 >/sbin/ifconfig

 enp4s0:flags=4163mtu 1500

 [...snipped...]

 ether bf:e2:91:10:58:d2 txqueuelen 1000(Ethernet)

 [...snipped...]

 In this case,our mac address is:bf:e2:91:10:58:d2

 Copyright(c)2022 Hex-Rays SA

 Page 4 of 25

 You will be able to activate both Hex-Rays Vault server and Lumina server in one activation if you have also the Host ID of

 your Lumina server.

 Go to https://hex-rays.com/activate,and submit both the ida.key file and your MAC address.You will then receive

 another e-mail with instructions to download the following files:

 •hexvault.crt

 •hexvault.key

 •hexvault.lic

 Those need to be copied in the Hex-Rays Vault installation directory.As root:

 >cd/opt/hexvault

 >cp.../path/to/hexvault.crt.

 >cp.../path/to/hexvault.key.

 >cp.../path/to/hexvault.lic.

 >chown hexvault:hexvault hexvault.crt hexvault.key hexvault.lic

 >chmod 640 hexvault.crt hexvault.key hexvault.lic

 Creating the initial database

 At this point,the server should be ready to run.

 CAUTION If your system is already in production and hosts files,skip this section.Using the--recreate

 -schema option as in the example below,will re-create an empty database and lose all history.

 On the first install,you will need to initialize the database the server will use:

 >sudo-u hexvault./vault_server--config-file hexvault.conf\

 --vault-dir./files\

 --recreate-schema

 >2022-04-14 14:30:28 Vault Server v1.0 Hex-Rays(c)2022

 >2022-04-14 14:30:28 Database initialized;exiting.

 Testing the server

 Now that the server is installed and has a database to work with,we can test that it works:

 >sudo-u hexvault./vault_server--config-file hexvault.conf\

 --certchain-file hexvault.crt\

 --privkey-file hexvault.key\

 --license-file hexvault.lic\

 --vault-dir./files

 >2022-04-14 14:35:47 Vault Server v1.0 Hex-Rays(c)2022

 >2022-04-14 14:35:47 Using a license with 5 seats

 >2022-04-14 14:35:47 Listening on 0.0.0.0:65433...

 Good,the server appears to run!(If you are observing more worrying messages than this one,please refer to the

 troubleshooting section.)

 At this point,you may want to either let the server run,or stop it(Ctrl+C will do)and restart it using systemd:

 >systemctl restart hexvault.service

 ...and make sure it runs:

 >ps aux|grep vault_server

 hexvault 58246 0.0 0.0...

 Copyright(c)2022 Hex-Rays SA

 Page 5 of 25

 If you don’t see a running vault_server process,please refer to the systemd diagnostic tools(e.g.,journalctl)for more

 info.

 

中文翻译如下:

2.2.2. 安装服务器

Hex-Rays Vault 服务器可以安装在 Linux 服务器上。我们已在 Debian 和 Ubuntu 上进行了测试,但其他主要版本的 Linux 也应该可以。要安装服务器,请以 root 身份运行 Hex-Rays Vault 安装程序并按照说明操作(服务器不需要 root 权限,只有安装程序需要)。

提示:如果您的 Linux 系统基于 systemd(例如 Debian/Ubuntu,Red-Hat,CentOS 等),建议让安装程序创建 systemd 单元,以便服务器在下一次重新启动时自动启动。

安装服务器后,需要激活其许可证。为了激活 Hex-Rays Vault 服务器许可证,必须将其绑定到主机 ID(以太网 MAC 地址)。从命令提示符中运行 /sbin/ifconfig,并查找服务器将通过其中的网络接口可访问的“ether”地址。

/sbin/ifconfig

enp4s0: flags = 4163 mtu 1500

[...snipped...]

ether bf:e2:91:10:58:d2 txqueuelen 1000 (Ethernet)

[...snipped...]

在本例中,我们的 MAC 地址是:bf:e2:91:10:58:d2

您将能够在 License Activation 上激活 Hex-Rays Vault 服务器和 Lumina 服务器,如果您还拥有 Lumina 服务器的主机 ID。提交 ida.key 文件和您的 MAC 地址后,您将收到另一封电子邮件,其中包含下载以下文件的说明:

•hexvault.crt

•hexvault.key •hexvault.lic

这些文件需要复制到 Hex-Rays Vault 安装目录中。以 root 身份:

cd /opt/hexvault

cp .../path/to/hexvault.crt.

cp .../path/to/hexvault.key.

cp .../path/to/hexvault.lic.

chown hexvault:hexvault hexvault.crt hexvault.key hexvault.lic chmod 640 hexvault.crt hexvault.key hexvault.lic

创建初始数据库

此时,服务器应准备好运行。 注意:如果您的系统已经处于生产状态并托管文件,请跳过此部分。在下面的示例中使用--recreate-schema 选项,将重新创建一个空数据库并且会丢失所有历史。

在第一次安装时,您需要初始化服务器将使用的数据库:

sudo -u hexvault ./vault_server --config-file hexvault.conf --vault-dir ./files --recreate-schema

2022-04-14 14:30:28 Vault Server v1.0 Hex-Rays (c) 2022

2022-04-14 14:30:28 Database initialized; exiting.

测试服务器

现在服务器已经安装并且有了可用的数据库,我们可以测试它是否工作正常:

sudo -u hexvault ./vault_server --config-file hexvault.conf --certchain-file hexvault.crt --privkey-file hexvault.key --license-file hexvault.lic --vault-dir ./files2022-04-14 14:35:47 Vault Server v1.0 Hex-Rays(c)2022

2022-04-14 14:35:47 使用 5 个用户许可证 2022-04-14 14:35:47 正在监听 0.0.0.0:65433…

好的,服务器似乎已经运行正常!(如果您看到比这个更令人担忧的消息,请参考故障排除部分。) 此时,您可以让服务器运行,或者停止它(使用Ctrl+C),并使用systemd重新启动它:

systemctl restart hexvault.service

…并确保它正在运行:

ps aux | grep vault_server hexvault 58246 0.0 0.0... Copyright(c)2022 Hex-Rays SA Page 5 of 25

如果您没有看到运行中的vault_server进程,请参考systemd诊断工具(例如journalctl)获取更多信息。

展开阅读全文

︾

标签:

读者也访问过这里:
邀请您进入交流群 点击扫码
400-8765-888 kefu@makeding.com

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
exe反编译工具哪个好?反编译能力强的工具盘点
随着软件技术的发展,exe(可执行文件)已经成为了电脑、手机等多个平台上的主要软件运行格式,而对于exe文件的反编译也成为了逆向工程中不可缺少的一个步骤。本文将介绍一些常用的exe反编译工具,并评价其优缺点,帮助读者选择合适的工具。
2023-04-12
idapro怎么改为中文
IDA Pro是一款功能强大的反汇编和反编译工具,广泛应用于逆向工程和软件开发领域。在使用IDA Pro时,如果我们不习惯英文界面,可以将其改为中文界面。本文将介绍IDA Pro怎么改为中文界面。IDA Pro界面改成中文主要有两种方法,下面是详细介绍。
2023-04-19
c++反编译工具有哪些
反编译C++代码的工具一般是针对可执行文件和库文件的反汇编和逆向分析工具。本文将给大家介绍c++反编译工具有哪些的内容。市面说的c++反编译工具有很多,下面介绍几款使用认识较多的软件。
2023-04-23
ida怎么查找字符串 ida字符串窗口快捷键
在数字化时代,逆向工程作为解密软件和分析程序的关键技术,正日益受到广泛关注。在逆向分析的过程中,IDA(Interactive DisAssembler)是一款备受推崇的工具,它为逆向工程师们提供了强大的功能和灵活的操作。本文将带您深入探讨如何在IDA中查找字符串,优化字符串窗口的使用,并探讨IDA如何将变量转换成字符串,帮助您更加熟练地驾驭这一工具,为逆向分析的世界增添一抹精彩。
2023-09-27
ida如何转伪代码 ida伪代码怎么看
IDA Pro是一款常用的反汇编和反编译工具,可以帮助我们分析二进制文件的实现细节和执行过程,以便更好地理解程序的执行过程和逻辑。在进行逆向工程的过程中,我们经常需要将反汇编结果转换为伪代码,以便更好地进行分析和修改。本文将介绍如何使用IDA Pro转换为伪代码,并简单讲解ida伪代码怎么看。
2023-04-14
最新文章
IDA Pro怎么进行逆向分析 IDA Pro逆向分析过程中无法定位函数如何处理
在软件分析和程序调试过程中,IDA Pro经常用于查看二进制文件内部结构,通过反汇编、函数识别以及交叉引用等方式了解程序执行逻辑。实际进行逆向分析时,并不是所有程序都能够直接显示清晰的函数关系。尤其是经过优化、裁剪或者保护处理后的程序,可能出现函数名称缺失、入口位置无法识别、调用关系不完整等情况。遇到无法定位函数的问题时,需要结合文件信息、汇编代码以及分析结果逐步判断原因。本文介绍IDA Pro进行逆向分析的方法,并说明分析过程中函数无法定位时的处理方式。
2026-09-08
IDA Pro怎么恢复反汇编代码 IDA Pro反汇编代码还原效果不好如何优化
程序经过编译后,源码中的变量名称、注释以及部分结构信息通常不会完整保留。使用IDA Pro分析程序时,软件需要根据机器码、函数调用关系和数据引用进行推断,因此生成的反汇编结果和原始代码之间可能存在差异。实际分析过程中,经常会遇到函数边界判断错误、代码区域识别异常、伪代码难以阅读等情况。通过重新分析、修正代码区域、补充类型信息等方式,可以逐步改善反汇编结果。本文介绍IDA Pro恢复反汇编代码的方法,并整理反汇编还原效果较差时的优化思路。
2026-09-08
IDA Pro怎么进行Linux反汇编 IDA Pro Linux程序分析失败如何解决
Linux程序分析过程中,反汇编主要用于查看程序内部结构、函数调用关系以及指令执行逻辑。实际使用IDA Pro处理Linux程序时,遇到的问题往往集中在文件加载和分析识别阶段,例如ELF文件信息不完整、程序架构判断错误、符号被移除等。尤其是一些经过编译优化或者发布处理后的程序,自动分析结果可能和预期存在差异。本文介绍IDA Pro进行Linux反汇编的基本方法,并整理Linux程序分析失败时的排查方式。
2026-09-08
IDA Pro怎么进行ARM反汇编 IDA Pro ARM反汇编结果错误如何修正
ARM程序分析过程中,反汇编是查看程序指令结构、函数关系以及执行流程的重要环节。实际使用IDA Pro分析ARM文件时,文件来源和格式差异会带来不少问题,例如固件镜像缺少完整加载信息、ARM与Thumb指令混用、函数入口识别不准确等。如果前期设置没有处理好,后面的反汇编窗口中可能出现大量异常指令,函数划分也会受到影响。本文介绍IDA Pro进行ARM反汇编的基本流程,并整理反汇编结果错误时的检查和修正方法。
2026-09-08
IDA Pro怎么分析DLL文件 IDA Pro分析DLL文件时符号信息缺失如何处理
DLL文件分析是程序逆向和软件调试过程中经常遇到的任务。相比普通EXE文件,DLL通常作为功能模块被其他程序调用,自身可能没有明显的启动入口,分析时需要关注导出函数、调用关系以及内部代码结构。实际使用IDA Pro打开DLL文件时,经常会遇到函数名称丢失、变量信息缺少、导出函数无法对应等情况。这些问题通常和编译方式、符号文件是否保留以及加载设置有关。本文介绍IDA Pro分析DLL文件的基本流程,并整理符号信息缺失时的检查和处理方法。
2026-09-08
IDA Pro怎么进行程序分析 IDA Pro程序分析结果异常如何检查
IDA Pro是逆向分析中常用的静态分析工具,可以帮助分析人员从二进制文件中还原程序结构,查看函数关系、代码流程以及关键数据引用。但实际分析过程中,IDA自动生成的结果并不一定完全准确,尤其是在面对优化编译、特殊架构程序或者经过保护处理的文件时,经常会出现函数识别错误、代码区域判断异常、交叉引用缺失等情况。掌握正确的分析流程,并了解结果异常时的判断方法,可以让后续逆向工作更加顺畅。
2026-09-07

通过微信咨询我们

欢迎添加好友,了解更多IDA优惠信息,领取逆向工程学习资料礼包1份!

读者也喜欢这些内容: