Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What encoding have certificates for Haxorware?
hunter89_7 Offline
Junior Member
**

Posts: 5
Threads: 2
Joined: Jul 2015
Reputation: 1
#1
What encoding have certificates for Haxorware?
I'm trying to make a program to convert hexadecimal certificates to Haxorware, But some values are not converted properly.
I think that the certificates are in ascii hexadecimal.
i am using vb.net to make the program.

Thank you.
15-08-2016, 12:31 AM
Find Reply
FallGuy Offline
Junior Member
**

Posts: 8
Threads: 1
Joined: Aug 2016
Reputation: 3
#2
RE: What encoding have certificates for Haxorware?
Hi, for my knowledge the encoding for the CM Certificate is DER.

For instance you have the big hexdump from a CM Certificate you can use this steps under Linux.

1. Put the hexdump into a textfile with the name cm_cert_hex.txt
2. use this command
cat cm_cert_hex.txt | sed 's/\ //g' | tr -d "\n"
3. then copy the output
4. command
touch cm_cert.der
5. open the cm_cert.der with the linux tool hexedit
6. paste the copied input from step 3 into the hexedit editor and save with F2 and then Ctrl-C
7. take a look at your CM Certificate with OpenSSL
openssl x509 -inform DER -in cm_cert.der -text -noout


But you should keep in mind, that you need also the right private.key from the particular CM certificate.

One thing what I found out the CM Certificates from Intel based cable modem are not really usable at Haxorware because they are to big.

For that reason I just use cable modem with Puma5/6 where the console access is open.
(This post was last modified: 21-08-2016, 05:14 PM by FallGuy.)
21-08-2016, 05:14 PM
Find Reply
hunter89_7 Offline
Junior Member
**

Posts: 5
Threads: 2
Joined: Jul 2015
Reputation: 1
#3
RE: What encoding have certificates for Haxorware?
(21-08-2016, 05:14 PM)FallGuy Wrote: Hi, for my knowledge the encoding for the CM Certificate is DER.

For instance you have the big hexdump from a CM Certificate you can use this steps under Linux.

1. Put the hexdump into a textfile with the name cm_cert_hex.txt
2. use this command
cat cm_cert_hex.txt | sed 's/\ //g' | tr -d "\n"
3. then copy the output
4. command
touch cm_cert.der
5. open the cm_cert.der with the linux tool hexedit
6. paste the copied input from step 3 into the hexedit editor and save with F2 and then Ctrl-C
7. take a look at your CM Certificate with OpenSSL
openssl x509 -inform DER -in cm_cert.der -text -noout


But you should keep in mind, that you need also the right private.key from the particular CM certificate.

One thing what I found out the CM Certificates from Intel based cable modem are not really usable at Haxorware because they are to big.

For that reason I just use cable modem with Puma5/6 where the console access is open.

Thank you for your help, but i am trying to do a program to convert the certificates extracted from the cm to haxorware certificates. The problem is i dont know the exact encoding haxorware uses. Im doing it in vb.net.
(This post was last modified: 22-09-2016, 09:42 AM by hunter89_7.)
22-09-2016, 09:41 AM
Find Reply
hunter89_7 Offline
Junior Member
**

Posts: 5
Threads: 2
Joined: Jul 2015
Reputation: 1
#4
RE: What encoding have certificates for Haxorware?
I found the exact encoding for the haxorware certificates.

It is ISO 8859-1 Latin 1; Western European (ISO).

To convert the hexadecimal to ansi string i use a function in vb.net.

Public Function HexToStr(ByVal Data As String) As String
Dim com As String = ""
For x = 0 To Data.Length - 1 Step 2
com &= ChrW(CInt("&H" & Data.Substring(x, 2)))
Next
Return com
End Function

Then i use the next instruction to encoding:

Dim sw As New System.IO.StreamWriter(fic, False, System.Text.Encoding.GetEncoding(28591))


fic is the directory + file name.

I hope its clear.
23-09-2016, 08:35 AM
Find Reply
AmyBrandon Offline
Junior Member
**

Posts: 2
Threads: 0
Joined: Oct 2016
Reputation: 0
#5
RE: What encoding have certificates for Haxorware?
Thanks for sharing this useful post..
03-10-2016, 12:07 PM
Find Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)