Wei-Cheng Lin

89 papers A* 1A 6B 9C 2Misc 6Journal 50Unranked 15
YearRankTypeTitle / Venue / Authors
2025 J jnl
ACM Journal on Computing and Cultural Heritage
Qiang Chen, Tianning Chen, Wei-Cheng Lin, Zhenyu Ouyang, Xiao-Yi Wang
2025 J jnl
IEEE Trans. Affect. Comput.
Woan-Shiuan Chien, Shreya G. Upadhyay, Wei-Cheng Lin, Carlos Busso, Chi-Chun Lee
2025 J jnl
CoRR
Wei-Cheng Lin, Chih-Ming Lien, Chen Lo, Chia-Hung Yeh
2025 conf
ICASSP Workshops
Francesca Ronchini, Ho-Hsiang Wu, Wei-Cheng Lin, Fabio Antonacci
2025 J jnl
CoRR
Francesca Ronchini, Ho-Hsiang Wu, Wei-Cheng Lin, Fabio Antonacci
2025 A* conf
ICLR
Chi-Chih Chang, Wei-Cheng Lin, Chien-Yu Lin, Chong-Yan Chen, Yu-Fang Hu, Pei-Shuo Wang, Ning-Chi Huang, Luis Ceze, Mohamed S. Abdelfattah, Kai-Chiang Wu
2025 J jnl
CoRR
Carlos Busso, Reza Lotfian, Kusha Sridhar, Ali N. Salman, Wei-Cheng Lin, Lucas Goncalves, Srinivas Parthasarathy, Abinay Reddy Naini, Seong-Gyun Leem, Luz Martinez-Lucas, Huang-Cheng Chou, Pravin Mote
2025 A conf
INTERSPEECH
Ho-Hsiang Wu, Wei-Cheng Lin, Abinaya Kumar, Luca Bondi, Shabnam Ghaffarzadegan, Juan Pablo Bello
2025 J jnl
IEEE Trans. Affect. Comput.
Lucas Goncalves, Seong-Gyun Leem, Wei-Cheng Lin, Berrak Sisman, Carlos Busso
2025 J jnl
CoRR
Chi-Chih Chang, Chien-Yu Lin, Yash Akhauri, Wei-Cheng Lin, Kai-Chiang Wu, Luis Ceze, Mohamed S. Abdelfattah
2024 J jnl
IEEE ACM Trans. Audio Speech Lang. Process.
Wei-Cheng Lin, Kusha Sridhar, Carlos Busso
2024 J jnl
IEEE Trans. Affect. Comput.
Luz Martinez-Lucas, Wei-Cheng Lin, Carlos Busso
2024 Misc conf
ICASSP
Wei-Cheng Lin, Shabnam Ghaffarzadegan, Luca Bondi, Abinaya Kumar, Samarjit Das, Ho-Hsiang Wu
2024 J jnl
Speech Commun.
Wei-Cheng Lin, Carlos Busso
2024 conf
ICCE-Taiwan
Chun-Ting Hsieh, Yun-Yu Hsieh, Wei-Cheng Lin
2024 conf
CVPR Workshops
Ning-Chi Huang, Chi-Chih Chang, Wei-Cheng Lin, Endri Taka, Diana Marculescu, Kai-Chiang Wu
2024 J jnl
CoRR
Ning-Chi Huang, Chi-Chih Chang, Wei-Cheng Lin, Endri Taka, Diana Marculescu, Kai-Chiang Wu
2024 J jnl
CoRR
Chi-Chih Chang, Wei-Cheng Lin, Chien-Yu Lin, Chong-Yan Chen, Yu-Fang Hu, Pei-Shuo Wang, Ning-Chi Huang, Luis Ceze, Kai-Chiang Wu
2024 conf
ICSSE
Hong-Syuan Lin, Ming-You Ma, Yuan-Ting Wu, Wei-Cheng Lin, Shang-En Shen, Yi-Cheng Huang
2024 A conf
INTERSPEECH
Shabnam Ghaffarzadegan, Luca Bondi, Wei-Cheng Lin, Abinaya Kumar, Ho-Hsiang Wu, Hans-Georg Horst, Samarjit Das
2024 J jnl
Int. J. Circuit Theory Appl.
Wei-Cheng Lin, Ching-Yi Wu, Chien-Hung Liao, Chun-Ting Hsieh, Ren-Jie Zeng, Yun-Yu Hsieh, Peng-Ru Hou
2023 A conf
INTERSPEECH
Wei-Cheng Lin, Luca Bondi, Shabnam Ghaffarzadegan
2023 J jnl
IEEE Trans. Affect. Comput.
Wei-Cheng Lin, Carlos Busso
2023 J jnl
Int. J. Circuit Theory Appl.
Wei-Cheng Lin, Chun-Ting Hsieh, Ming-Chiu Chang
2023 B conf
ICMI
Wei-Cheng Lin, Lucas Goncalves, Carlos Busso
2023 Misc conf
ICASSP
Shreya G. Upadhyay, Luz Martinez-Lucas, Bo-Hao Su, Wei-Cheng Lin, Woan-Shiuan Chien, Ya-Tse Wu, William F. Katz, Carlos Busso, Chi-Chun Lee
2023 conf
ICME Workshops
Chi-Chih Chang, Wei-Cheng Lin, Pei-Shuo Wang, Sheng-Feng Yu, Yu-Chen Lu, Kuan-Cheng Lin, Kai-Chiang Wu
2023 J jnl
CoRR
Chi-Chih Chang, Wei-Cheng Lin, Pei-Shuo Wang, Sheng-Feng Yu, Yu-Chen Lu, Kuan-Cheng Lin, Kai-Chiang Wu
2023 Misc conf
ICASSP
Wei-Cheng Lin, Carlos Busso
2023 J jnl
IEEE ACM Trans. Audio Speech Lang. Process.
Wei-Cheng Lin, Carlos Busso
2023 J jnl
IEEE Access
Yi-Ming Tseng, Bang-Ren Chen, Wei-Cheng Lin, Wen-Jay Lee, Nan-Yow Chen, Tian-Li Wu
2023 J jnl
CoRR
Lucas Goncalves, Seong-Gyun Leem, Wei-Cheng Lin, Berrak Sisman, Carlos Busso
2022 J jnl
Int. J. Inf. Syst. Model. Des.
Tsui-Ping Chang, Hung-Ming Chen, Shih-Ying Chen, Wei-Cheng Lin
2022 J jnl
Int. J. Circuit Theory Appl.
Wei-Cheng Lin, Ming-Chiu Chang, Chien-Hung Liao, Chun-Ting Hsieh
2022 J jnl
Int. J. Circuit Theory Appl.
Wei-Cheng Lin, Ming-Chiu Chang, Chien-Hung Liao
2022 Misc conf
ICASSP
Huang-Cheng Chou, Wei-Cheng Lin, Chi-Chun Lee, Carlos Busso
2022 J jnl
Sensors
Wei-Cheng Lin
2022 B conf
ACII
Woan-Shiuan Chien, Shreya G. Upadhyay, Wei-Cheng Lin, Ya-Tse Wu, Bo-Hao Su, Carlos Busso, Chi-Chun Lee
2022 conf
EUSIPCO
Wei-Cheng Lin, Dimitra Emmanouilidou
2021 J jnl
IEEE Signal Process. Mag.
Chi-Chun Lee, Kusha Sridhar, Jeng-Lin Li, Wei-Cheng Lin, Bo-Hao Su, Carlos Busso
2021 Misc conf
ICASSP
Wei-Cheng Lin, Kusha Sridhar, Carlos Busso
2021 J jnl
Commun. Stat. Simul. Comput.
Wei-Cheng Lin, Takeshi Emura, Li-Hsien Sun
2021 B conf
ACII
Kusha Sridhar, Wei-Cheng Lin, Carlos Busso
2021 J jnl
Int. J. Circuit Theory Appl.
Chun-Ting Hsieh, Shang-Hsien Wang, Chun-Wei Yeh, Wei-Cheng Lin
2020 conf
ICCE-TW
Pei-Shan Liu, Wei-Cheng Lin, Yi Ma, Chun-Feng Liao
2020 A conf
INTERSPEECH
Wei-Cheng Lin, Carlos Busso
2020 J jnl
IEEE Trans. Affect. Comput.
Wei-Cheng Lin, Chi-Chun Lee
2020 J jnl
Int. J. Circuit Theory Appl.
Ming-Chiu Chang, Wei-Cheng Lin
2020 B conf
ICMI
Andrea Vidal, Ali N. Salman, Wei-Cheng Lin, Carlos Busso
2019 conf
APSIPA
Wei-Cheng Lin, Yu Tsao, Fei Chen, Hsin-Min Wang
2019 J jnl
Int. J. Mob. Commun.
Yu-Min Wang, Wei-Cheng Lin
2018 conf
GCCE
Chia-Chang Hu, Wei-Cheng Lin, Wen-Shuo Liao
2017 conf
ROCLING
Chun-Min Chang, Wei-Cheng Lin, Chi-Chun Lee
2017 J jnl
Int. J. Comput. Linguistics Chin. Lang. Process.
Chun-Min Chang, Wei-Cheng Lin, Chi-Chun Lee
2017 J jnl
IEEE Syst. J.
Shao-I Chu, Yu-Jung Huang, Wei-Cheng Lin
2017 B conf
RTCSA
Wei-Cheng Lin, Chia-Heng Tu, Chih Wei Yeh, Shih-Hao Hung
2017 B conf
ACII
Huang-Cheng Chou, Wei-Cheng Lin, Lien-Chiang Chang, Chyi-Chang Li, Hsi-Pin Ma, Chi-Chun Lee
2016 Misc conf
ICASSP
Wei-Cheng Lin, Chi-Chun Lee
2016 J jnl
Microelectron. Reliab.
Chie-In Lee, Yan-Ting Lin, Wei-Cheng Lin
2016 J jnl
IEEE Trans. Very Large Scale Integr. Syst.
Da-Wei Chang, Wei-Cheng Lin, Hsin-Hung Chen
2016 A conf
INTERSPEECH
Hung-Shin Lee, Yu Tsao, Chi-Chun Lee, Hsin-Min Wang, Wei-Cheng Lin, Wei-Chen Chen, Shan-Wen Hsiao, Shyh-Kang Jeng
2015 J jnl
Int. J. Circuit Theory Appl.
Yie-Tone Chen, Wei-Cheng Lin, Ruey-Hsun Liang
2015 J jnl
Microelectron. Reliab.
Chie-In Lee, Wei-Cheng Lin, Yan-Ting Lin
2015 J jnl
Microelectron. Reliab.
Chie-In Lee, Wei-Cheng Lin
2014 J jnl
Microelectron. J.
Chie-In Lee, Wei-Cheng Lin, Yan-Ting Lin
2014 conf
ICCE-TW
Shih-Fong Chao, Wei-Cheng Lin, Che-You Kuo, Pu-Hua Deng
2014 J jnl
J. Inf. Sci. Eng.
Wei-Ho Tsai, Yeong-Yuh Xu, Wei-Cheng Lin
2014 J jnl
Trans. Emerg. Telecommun. Technol.
Shao-I Chu, Hung-Peng Lee, Hsin-Chiu Chang, Wei-Cheng Lin
2014 conf
PHOTOPTICS
Jingshown Wu, Yen-Ru Huang, Shenq-Tsong Chang, Hen-Wai Tsao, San-Liang Lee, Wei-Cheng Lin
2014 J jnl
J. Sensors
Po-Ying Chen, Chi-Chang Chen, Wen-Kuan Yeh, Yukan Chang, Der-Chen Huang, Shyr-Shen Yu, Chwei-Shyong Tsai, Yu-Jung Huang, Wei-Cheng Lin, Shao-I Chu, Chung-Long Pan, Tsung-Hung Lin, Shyh-Chang Liu
2013 J jnl
Microelectron. J.
Chie-In Lee, Yan-Ting Lin, Yu-Her Chen, Wei-Cheng Lin
2013 A conf
ICME
Wei-Ho Tsai, Yeong-Yuh Xu, Wei-Cheng Lin
2013 conf
ISBAST
Zong-Xian Yin, Chyi-Her Lin, Wei-Cheng Lin
2013 J jnl
Wirel. Commun. Mob. Comput.
Shao-I Chu, Wei-Cheng Lin, Hung-Peng Lee, Hsin-Chiu Chang
2013 conf
ICGEC
Shao-I Chu, Chih-Yuan Lien, Wei-Cheng Lin, Yu-Jung Huang, Chung-Long Pan, Po-Ying Chen
2012 J jnl
IEEE Trans. Ind. Electron.
Yu-Jung Huang, Wei-Cheng Lin, Hung-Lin Li
2011 J jnl
Artif. Life Robotics
Yung-Chin Lin, Yung-Chien Lin, Kuo-Lan Su, Wei-Cheng Lin, Tsing-Hua Chen
2010 J jnl
IEEE Trans. Mob. Comput.
Arvin Wen Tsui, Wei-Cheng Lin, Wei-Ju Chen, Polly Huang, Hao-Hua Chu
2010 J jnl
IEEE Trans. Ind. Electron.
Yu-Jung Huang, Ching-Chien Yuan, Ming-Kun Chen, Wei-Cheng Lin, Hsien-Chiao Teng
2008 C conf
ISCAS
Wei-Cheng Lin, Chung-Ho Chen
2008 J jnl
IEEE Trans. Circuits Syst. Video Technol.
Wei-Cheng Lin, Chung-Ho Chen
2007 conf
SoCC
Wei-Cheng Lin, Chung-Ho Chen
2007 B conf
ICCCN
Wei-Cheng Lin, Chung-Ho Chen
2006 C conf
ISCAS
Wei-Cheng Lin, Chung-Ho Chen
2005 J jnl
IEEE Trans. Syst. Man Cybern. Part A
Wei-Cheng Lin, Da-Yin Liao, Chung-Yang Liu, Yong-Yao Lee
2005 B conf
SMC
Wei-Cheng Lin, Shi-Chung Chang
2004 J jnl
Microelectron. Reliab.
Wei-Cheng Lin, Long-Jei Du, Ya-Chin King
2003 J jnl
IEEE Trans. Fuzzy Syst.
Shiuh-Jer Huang, Wei-Cheng Lin
2003 B conf
SMC
Wei-Cheng Lin, Chung-Yang Liu, Da-Yin Liao, Yong-Yao Lee
docs/CODE_ANALYSIS_APPROACH.md
← Index docs/CODE_ANALYSIS_APPROACH.md markdown
# Code Analysis Approach

This document explains the code analysis methodologies used in the REDB malware analysis framework.

## Disassembly Normalization

The framework implements a sophisticated three-level normalization strategy for disassembled code that provides different levels of abstraction for similarity detection and feature extraction.

### Overall Normalization Strategy

The framework implements a **hierarchical abstraction approach** where each instruction is normalized at three different levels simultaneously:

1. **Level 0 (fully_normalized)**: Maximum abstraction - reduces operands to broad categories
2. **Level 1 (api_normalized)**: Medium abstraction - preserves semantic meaning while normalizing details  
3. **Level 2 (category_normalized)**: Minimum abstraction - maintains architectural specificity

This multi-level approach allows analysts to perform similarity analysis at different granularities depending on their specific detection goals.

### Implementation Architecture

The normalization process follows this workflow:

1. **Token Parsing**: Each instruction is parsed from Binary Ninja's instruction tokens to extract the mnemonic and operands
2. **Multi-Level Processing**: Each operand is processed through all three normalization functions
3. **Instruction Reconstruction**: Normalized instructions are rebuilt with the mnemonic plus normalized operands
4. **Control Flow Tagging**: Control flow instructions get a `<TARGET>` suffix for easier pattern matching

### Level 0: Fully Normalized (Maximum Abstraction)

**Purpose**: Creates the most abstract representation for broad pattern detection across different malware families.

**Transformations**:
- **Registers**: All registers normalized to semantic categories via `normalize_register()`:
  - General purpose registers (EAX, EBX, R8, etc.) → `GPR`
  - Stack/Base pointers (ESP, EBP, RSP) → `PTR` 
  - SIMD registers (XMM0, XMM1) → `XMM`
  - FPU registers (ST0, ST1) → `FPU`
- **Memory Operations**: All memory references → `MEM`
- **Constants**: All immediate values → `CONST`  
- **Data References**: All symbols/data references → `DATA_REF`

**Example**:
```
mov eax, [ebp+8]     → MOV GPR MEM
call CreateFileW     → CALL DATA_REF <TARGET>
add ecx, 0x10        → ADD GPR CONST
```

### Level 1: API Normalized (Medium Abstraction)

**Purpose**: Preserves semantic distinctions while normalizing architectural details. Focuses on behavioral patterns and API usage.

**Transformations**:
- **Registers**: Categorized by functional role:
  - Data registers → `GPR_DATA`
  - Index registers (ESI, EDI) → `GPR_INDEX`  
  - Stack registers (ESP, EBP) → `GPR_STACK`
  - SIMD registers → `XMM_REG`
- **Memory Operations**: Classified by access pattern:
  - Stack access → `MEM_STACK`
  - String operations → `MEM_STRING` 
  - General access → `MEM_GENERAL`
- **Constants**: Categorized by range:
  - Small constants (-16 to 16) → `CONST_{value}`
  - Large constants → `CONST_LARGE`
- **API Calls**: Resolved to specific API names:
  - `CreateFileW` → `API_CreateFileW`
  - Other symbols → `DATA_SYM`

**Example**:
```
mov eax, [ebp+8]     → MOV GPR_DATA MEM_STACK
call CreateFileW     → CALL API_CreateFileW <TARGET>
add ecx, 0x10        → ADD GPR_DATA CONST_LARGE
```

### Level 2: Category Normalized (Minimum Abstraction)

**Purpose**: Maintains architectural specificity while normalizing specific values. Best for detecting variants with similar implementation details.

**Transformations**:
- **Registers**: Architecture-specific categories:
  - 64-bit registers → `REG_64`, with special cases for `REG_64_SP`, `REG_64_BP`
  - 32-bit registers → `REG_32`
  - 16/8-bit registers → `REG_16_8`
- **Memory Operations**: Detailed addressing mode classification:
  - Complex addressing → `MEM_SCALED_INDEX`
  - Base + offset → `MEM_BASE_OFFSET`
  - Direct addressing → `MEM_DIRECT`
- **Constants**: Type-specific classification:
  - Hexadecimal → `CONST_HEX`
  - Decimal → `CONST_DEC`
- **API Calls**: Categorized by functional group:
  - File operations → `API_FILE_OP`
  - Memory operations → `API_MEMORY_OP`
  - Network operations → `API_NETWORK_OP`

**Example**:
```
mov eax, [ebp+8]     → MOV REG_32 MEM_BASE_OFFSET
call CreateFileW     → CALL API_FILE_OP <TARGET>
add ecx, 0x10        → ADD REG_32 CONST_HEX
```

### Key Features and Benefits

#### 1. Multi-Granularity Similarity Detection
- **Level 0**: Detects broad behavioral patterns across malware families
- **Level 1**: Identifies API usage patterns and semantic similarities
- **Level 2**: Finds variants with similar implementation approaches

#### 2. Robust Pattern Matching
- Control flow instructions tagged with `<TARGET>` for easier CFG analysis
- Handles edge cases with fallback mechanisms
- Consistent uppercase normalization prevents case sensitivity issues

#### 3. API-Aware Analysis
The framework includes sophisticated API recognition through the `ApiCategory` enum and resolution methods:
- **File Operations**: CreateFile, ReadFile, WriteFile, etc.
- **Memory Operations**: VirtualAlloc, HeapAlloc, VirtualProtect, etc.  
- **Registry Operations**: RegOpenKey, RegSetValue, etc.
- **Network Operations**: WSASocket, send, recv, etc.
- **Process Operations**: CreateProcess, OpenProcess, etc.

#### 4. Scalable Feature Extraction
Each level produces different hash values for the same function:
- `fully_normalized_disassembly_hash`
- `api_normalized_disassembly_hash`  
- `category_normalized_disassembly_hash`

This enables efficient similarity searches at different abstraction levels in the ClickHouse database.

### Practical Applications for Malware Analysis

#### Threat Hunting Scenarios:

1. **Family Detection** (Level 0): Find samples using similar algorithmic approaches regardless of specific implementation
2. **Variant Analysis** (Level 1): Identify samples with similar API usage patterns and behavioral semantics
3. **Code Reuse Detection** (Level 2): Discover samples sharing specific implementation techniques or code fragments

#### Similarity Metrics Integration:
- Each normalization level can be used with different fuzzy hashing algorithms (ssdeep, TLSH, etc.)
- Level 0 works well with structural similarity metrics
- Level 1 optimal for behavioral similarity analysis  
- Level 2 suitable for implementation-specific pattern matching

This three-tiered approach provides malware analysts with flexible tools for detecting similarities across the threat landscape while maintaining the precision needed for detailed variant analysis.



---

*More code analysis approaches will be documented in additional sections as they are implemented.*