0

我有一个程序将其键盘绑定存储为一个大的混淆或加密文件。我正在尝试找出它是什么类型的加密,但不确定从这里可以探索的其他地方。它包含在一个 XML 文件中,没有任何注释或提示(字段名称为 DeviceIO.Config.Controller)

The whole line is: 
Entry Name="DeviceIO.Config.Controller" Type="3"         Value="RElPTQAA5ipESU9JAAAABAAAAAFERVZTAADmFgAAAAFERVZJAADmCgAAABcAVAByAGEAawB0AG8AcgAuAEsAbwBuAHQAcgBvAGwAIABTADIALgBVAHMAZQByRERBVAAA5dBERElGAAAABAAAAABERElWAAAAGgAAAAkAMgAuADEALgAwACAARABlAHYAAABARERJQwAAAAQAAAAARERQVAAAABoAAAAJAEsAbwBuAHQAcgBvAGwAUwAyAAAAAEREREMAACASRERDSQAAEuQAAABRRENEVAAAACwAAAAKAEwAZQBmAHQALgBTAGgAaQBmAHQAAAABAAAAAD+AAAAAAAADAAAAAERDRFQAAAAuAAAACwBSAGkAZwBoAHQALgBTAGgAaQBmAHQAAAABAAAAAD+AAAAAAAADAAAAAERDRFQAAAAqAAAACQBMAGUAZgB0AC4AUwB5AG4AYwAAAAEAAAAAP4AAAAAAAAMAAAABRENEVAAAACwAAAAKAFIAaQBnAGgAdAAuAFMAeQBuAGMAAAABAAAAAD+AAAAAAAADAAAAAURDRFQAAAAoAAAACABMAGUAZgB0AC4AQwB1AGUAAAABAAAAAD+AAAAAAAADAAAAAkRDRFQAAAAqAAAACQBSAGkAZwBoAHQALgBDAHUAZQAAAAEAAAAAP4AAAAAAAAMAAAACRENEVAAAACoAAAAJAEwAZQBmAHQALgBQAGwAYQB5AAAAAQAAAAA/gAAAAAAAAwAAAANEQ0RUAAAALAAAAAoAUgBpAGcAaAB0AC4AUABsAGEAeQAAAAEAAAAAP4AAAAAAAAMAAAADRENEVAAAADYAAAAPAEwAZQBmAHQALgBIAG8AdABjAHUAZQAuACAAMQAgAAAAAQAAAAA/gAAAAAAAAwAAAAREQ0RUAAAAOAAAABAAUgBpAGcAaAB0AC4ASABvAHQAYwB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ABAAAAAD+AAAAAAAADAAAAC0RDRFQAAAA6AAAAEQBSAGkAZwBoAHQALgBMAG8AbwBwAC4AQQBjAHQAaQB2AGUAAAABAAAAAD+AAAAAAAADAAAAC0RDRFQAAAA0AAAADgBMAGUAZgB0AC4ATABvAG8AcAAuAFMAaQB6AGUAAAAFwKAAAECgAAAAAAADAAAADERDRFQAAAA2AAAADwBSAGkAZwBoAHQALgBMAG8AbwBwAC4AUwBpAHoAZQAAAAXAoAAAQKAAAAAAAAMAAAAMRENEVAAAADIAAAANAEwAZQBmAHQALgBMAG8AbwBwAC4AUwBlAHQAAAABAAAAAD+AAAAAAAADAAAADURDRFQAAAA0AAAADgBSAGkAZwBoAHQALgBMAG8AbwBwAC4AUwBlAHQAAAABAAAAAD+AAAAAAAADAAAADURDRFQAAAA4AAAAEABMAGUAZgB0AC4AVABlAG0AcABvACAAUgBlAHMAZQB0AAAAAQAAAAA/gAAAAAAAAwAAAA5EQ0RUAAAAOgAAABEAUgBpAGcAaAB0AC4AVABlAG0AcABvACAAUgBlAHMAZQB0AAAAAQAAAAA/         (edited for brevity...)

向右滚动以查看示例。我可以从哪里开始?或者如果做不到这一点,我有什么资源可以理解如何解决这样的问题?

4

1 回答 1

2

查看文本块的结尾。它是否以 =(等号)结尾?如果是这样,很可能它是一个Base64 编码的字符串,它不是一种加密,而是一种以文本兼容的方式存储二进制数据的方式,尽管我见过它被用作(非常)的地方当您存储的内容不安全时,基本形式的混淆,就像不直接在聚光灯下一样。

由于这似乎是一个 XML 属性值,因此数据可能包含对 XML 不友好的字符(例如 "、<、& 或其他字符),并且开发人员认为将其全部进行 Base64 编码更容易,而不是专门转义无效的 XML 字符。

它很容易反转,并且大多数编程框架都有内置的实用程序。例如,.NET 就有这种Convert.FromBase64String()方法。我猜这在其他语言中也很容易。

于 2013-09-20T06:51:54.603 回答